This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix variable names in 'ununit var' warnings in evals
[perl5.git] / sv.c
diff --git a/sv.c b/sv.c
index 1ef5e31..be66ac8 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -12545,6 +12545,7 @@ S_find_uninit_var(pTHX_ OP* obase, SV* uninit_sv, bool match)
        goto do_op2;
 
 
+    case OP_ENTEREVAL: /* could be eval $undef or $x='$undef'; eval $x */
     case OP_RV2SV:
     case OP_CUSTOM:
        match = 1; /* XS or custom code could trigger random warnings */