If we are void we cannot return a value.
Jarkko Hietaniemi [Tue, 12 Aug 2003 11:56:52 +0000 (11:56 +0000)]
p4raw-id: //depot/perl@20648

mg.c

diff --git a/mg.c b/mg.c
index 712a339..6f92bb5 100644 (file)
--- a/mg.c
+++ b/mg.c
@@ -2540,7 +2540,7 @@ cleanup:
 
     PL_Sv = tSv;                       /* Restore global temporaries. */
     PL_Xpv = tXpv;
-    return 0;
+    return;
 }