Hide unused variable when not building with WITH_SELINUX.
authorPetter Reinholdtsen <pere@hungry.com>
Sun, 22 Nov 2009 21:53:37 +0000 (21:53 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Sun, 22 Nov 2009 21:53:37 +0000 (21:53 +0000)
git-svn-id: svn://svn.sv.gnu.org/sysvinit/sysvinit/trunk@19 456724a4-4300-0410-8514-c89748c515a2

src/init.c

index 30592da1a1f15732af79b6f13c1e6d5c328aa618..5fe053083b4a6184c21f888fe49612a8385c593f 100644 (file)
@@ -2624,7 +2624,9 @@ int main(int argc, char **argv)
        char                    *p;
        int                     f;
        int                     isinit;
+#ifdef WITH_SELINUX
        int                     enforce = 0;
+#endif
 
        /* Get my own name */
        if ((p = strrchr(argv[0], '/')) != NULL)