Browse Source

ERR: Fixed missing return warning. Code was not reachable anyway.

Brad King 21 years ago
parent
commit
5701282e98
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/kwsys/ProcessUNIX.c

+ 1 - 0
Source/kwsys/ProcessUNIX.c

@@ -1824,6 +1824,7 @@ static pid_t kwsysProcessFork(kwsysProcess* cp,
 
         /* Exit without cleanup.  The parent holds all resources.  */
         _exit(0);
+        return 0; /* Never reached, but avoids SunCC warning.  */
         }
       }
     else