Hide unused variable when not building with WITH_SELINUX.
[sysvinit.git] / 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)