Add a third default.
[oweals/gnunet.git] / src / util / network.c
index fdc15e0d491df80e1ecdbaf72eb3fe7efd638149..d3a891a63735ff762f6581d3ec090005f22094d2 100644 (file)
@@ -421,7 +421,7 @@ GNUNET_NETWORK_socket_bind (struct GNUNET_NETWORK_Handle *desc,
   {
     /* set permissions of newly created UNIX domain socket to "user-only"; applications
        can choose to relax this later */
-    mode_t old_mask;
+    mode_t old_mask = 0; /* assigned to make compiler happy */
 
     if (AF_UNIX == address->sa_family)
       old_mask = umask (S_IWGRP | S_IRGRP | S_IXGRP | S_IWOTH | S_IROTH | S_IXOTH);