diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index e02fbfbd6..c5e0adae0 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/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