(preserve_capabilities): Initialize new_caps to avoid warning.
authordrepper <drepper>
Sat, 28 Jul 2007 20:43:11 +0000 (20:43 +0000)
committerdrepper <drepper>
Sat, 28 Jul 2007 20:43:11 +0000 (20:43 +0000)
nscd/selinux.c

index f2dbcee..6cbcbea 100644 (file)
@@ -180,7 +180,7 @@ preserve_capabilities (void)
     }
 
   cap_t tmp_caps = cap_init ();
-  cap_t new_caps;
+  cap_t new_caps = NULL;
   if (tmp_caps != NULL)
     new_caps = cap_init ();