When overloading, don't throw away nomethod's value
authorIlya Zakharevich <ilya@math.ohio-state.edu>
Tue, 18 Feb 1997 21:22:53 +0000 (09:22 +1200)
committerChip Salzenberg <chip@atlantic.net>
Fri, 21 Feb 1997 16:41:00 +0000 (04:41 +1200)
gv.c

diff --git a/gv.c b/gv.c
index b315ad8..62afd91 100644 (file)
--- a/gv.c
+++ b/gv.c
@@ -1316,11 +1316,6 @@ int flags;
     res=POPs;
     PUTBACK;
 
-    if (notfound) {
-      /* sv_2mortal(res); */
-      return NULL;
-    }
-
     if (postpr) {
       int ans;
       switch (method) {