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
[perl5.git] / 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 */
 }