util.c: return required in Perl_my_fork
Craig A. Berry [Mon, 23 Jul 2001 15:35:06 +0000 (10:35 -0500)]
Message-Id: <5.1.0.14.0.20010723152732.02ad4470@exchi01>

p4raw-id: //depot/perl@11455

util.c

diff --git a/util.c b/util.c
index 5262e6a..a88c25d 100644 (file)
--- a/util.c
+++ b/util.c
@@ -2160,6 +2160,7 @@ Perl_my_fork(void)
 #else
     /* this "canna happen" since nothing should be calling here if !HAS_FORK */
     Perl_croak_nocontext("fork() not available");
+    return 0;
 #endif /* HAS_FORK */
 }