]> granicus.if.org Git - shadow/commitdiff
compile warnings: Zflg unused when !selinux
authorSerge Hallyn <shallyn@cisco.com>
Sun, 13 Oct 2019 00:58:11 +0000 (19:58 -0500)
committerSerge Hallyn <shallyn@cisco.com>
Sun, 13 Oct 2019 01:03:51 +0000 (20:03 -0500)
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
src/userdel.c

index 7be46e8d2ea59d07a9c839d93f51b95d1f1358d1..cc951e580c766d226752fe600e262e958b227751 100644 (file)
@@ -97,7 +97,9 @@ static char *user_home;
 
 static bool fflg = false;
 static bool rflg = false;
+#ifdef WITH_SELINUX
 static bool Zflg = false;
+#endif
 static bool Rflg = false;
 
 static bool is_shadow_pwd;