Fix Win32 breakage caused by #31926
Steve Hay [Fri, 21 Sep 2007 08:25:47 +0000 (08:25 +0000)]
p4raw-id: //depot/perl@31937

hv.c

diff --git a/hv.c b/hv.c
index a8a5fd1..95df7c8 100644 (file)
--- a/hv.c
+++ b/hv.c
@@ -445,7 +445,7 @@ Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen,
                                                 | return_svp,
                                                 NULL /* no value */,
                                                 0 /* compute hash */);
-                       if (!entry && (action & HV_FETCH_LVALUE)) {
+                       if (!result && (action & HV_FETCH_LVALUE)) {
                            /* This call will free key if necessary.
                               Do it this way to encourage compiler to tail
                               call optimise.  */