File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2552,7 +2552,7 @@ main (int argc,
25522552 struct stat sbuf ;
25532553 uint64_t val ;
25542554 int res UNUSED ;
2555- cleanup_free char * args_data = NULL ;
2555+ cleanup_free char * args_data UNUSED = NULL ;
25562556 int intermediate_pids_sockets [2 ] = {-1 , -1 };
25572557
25582558 /* Handle --version early on before we try to acquire/drop
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ die (const char *format, ...)
8282}
8383
8484void
85- die_unless_label_valid (const char * label )
85+ die_unless_label_valid (UNUSED const char * label )
8686{
8787#ifdef HAVE_SELINUX
8888 if (is_selinux_enabled () == 1 )
@@ -854,7 +854,7 @@ pivot_root (const char * new_root, const char * put_old)
854854}
855855
856856char *
857- label_mount (const char * opt , const char * mount_label )
857+ label_mount (const char * opt , UNUSED const char * mount_label )
858858{
859859#ifdef HAVE_SELINUX
860860 if (mount_label )
@@ -871,7 +871,7 @@ label_mount (const char *opt, const char *mount_label)
871871}
872872
873873int
874- label_create_file (const char * file_label )
874+ label_create_file (UNUSED const char * file_label )
875875{
876876#ifdef HAVE_SELINUX
877877 if (is_selinux_enabled () > 0 && file_label )
@@ -881,7 +881,7 @@ label_create_file (const char *file_label)
881881}
882882
883883int
884- label_exec (const char * exec_label )
884+ label_exec (UNUSED const char * exec_label )
885885{
886886#ifdef HAVE_SELINUX
887887 if (is_selinux_enabled () > 0 && exec_label )
You can’t perform that action at this time.
0 commit comments