This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
util.c: return required in Perl_my_fork
authorCraig A. Berry <craigberry@mac.com>
Mon, 23 Jul 2001 15:35:06 +0000 (10:35 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 23 Jul 2001 21:13:12 +0000 (21:13 +0000)
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 */
 }