summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-07-09 15:49:04 (GMT)
committerBrad King <brad.king@kitware.com>2004-07-09 15:49:04 (GMT)
commit5701282e98bf78647193ab3a2dc7ea695ac32c6a (patch)
tree337a35cbdda93ca78a714c2ce58f1690d7e5f67a
parentd759b687a71e4f04c8355d720707f33d947ca674 (diff)
downloadCMake-5701282e98bf78647193ab3a2dc7ea695ac32c6a.zip
CMake-5701282e98bf78647193ab3a2dc7ea695ac32c6a.tar.gz
CMake-5701282e98bf78647193ab3a2dc7ea695ac32c6a.tar.bz2
ERR: Fixed missing return warning. Code was not reachable anyway.
-rw-r--r--Source/kwsys/ProcessUNIX.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c
index e02fbfb..c5e0ada 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