]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
lib/prefix_flag.c: Add [[gnu::unused]] to variable used in conditionally-compiled...
authorAlejandro Colomar <alx@kernel.org>
Fri, 21 Feb 2025 07:47:29 +0000 (08:47 +0100)
committerSerge Hallyn <serge@hallyn.com>
Fri, 5 Dec 2025 15:21:50 +0000 (09:21 -0600)
Reviewed-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/prefix_flag.c

index 1f824a46ead497baaf23f42670d05b4ce9cde881..5ca9e64c0c47d87f1e99ea7e5ac749259361a98a 100644 (file)
@@ -43,7 +43,7 @@ static char *group_db_file = NULL;
 static char *sgroup_db_file = NULL;
 static char *suid_db_file = NULL;
 static char *sgid_db_file = NULL;
-static char *def_conf_file = NULL;
+MAYBE_UNUSED static char *def_conf_file = NULL;
 static FILE* fp_pwent = NULL;
 static FILE* fp_grent = NULL;