mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
binutils: Fix unused var warning in aa_status.c
aa_status.c: In function ‘get_processes’: aa_status.c:236:10: warning: unused variable ‘len’ [-Wunused-variable] size_t len = 0; ^~~ MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/561 Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Steve Beattie <sbeattie@ubuntu.com>
This commit is contained in:
parent
c63598a4aa
commit
1de9768180
1 changed files with 0 additions and 1 deletions
|
@ -233,7 +233,6 @@ static int get_processes(struct profile *profiles,
|
|||
autofree char *real_exe = NULL;
|
||||
autofclose FILE *fp = NULL;
|
||||
autofree char *line = NULL;
|
||||
size_t len = 0;
|
||||
|
||||
// ignore non-pid entries
|
||||
for (i = 0; ispid && i < strlen(entry->d_name); i++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue