mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 13:58:22 +00:00
binutils: drop unused var in aa_enabled.c
Cleanup unused var warning aa_enabled.c: In function ‘exit_with_error’: aa_enabled.c:34:6: warning: unused variable ‘err’ [-Wunused-variable] int err; 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:
@@ -31,8 +31,6 @@ void print_help(const char *command)
|
|||||||
/* Exit statuses and meanings are documented in the aa-enabled.pod file */
|
/* Exit statuses and meanings are documented in the aa-enabled.pod file */
|
||||||
static void exit_with_error(int saved_errno, int quiet)
|
static void exit_with_error(int saved_errno, int quiet)
|
||||||
{
|
{
|
||||||
int err;
|
|
||||||
|
|
||||||
switch(saved_errno) {
|
switch(saved_errno) {
|
||||||
case ENOSYS:
|
case ENOSYS:
|
||||||
if (!quiet)
|
if (!quiet)
|
||||||
|
Reference in New Issue
Block a user