Patch up holes in realclean target
[p5sagit/p5-mst-13.2.git] / run.c
diff --git a/run.c b/run.c
index 9d3189d..be53204 100644 (file)
--- a/run.c
+++ b/run.c
@@ -28,7 +28,7 @@ Perl_runops_standard(pTHX)
 {
     dTHR;
 
-    while ( PL_op = (CALLOP->op_ppaddr)(ARGS) ) ;
+    while ( PL_op = (CALLOP->op_ppaddr)(aTHX) ) ;
 
     TAINT_NOT;
     return 0;
@@ -40,7 +40,8 @@ Perl_runops_debug(pTHX)
 #ifdef DEBUGGING
     dTHR;
     if (!PL_op) {
-       Perl_warn(aTHX_ "NULL OP IN RUN");
+       if (ckWARN_d(WARN_DEBUGGING))
+           Perl_warner(aTHX_ WARN_DEBUGGING, "NULL OP IN RUN");
        return 0;
     }
 
@@ -53,7 +54,7 @@ Perl_runops_debug(pTHX)
            DEBUG_t(debop(PL_op));
            DEBUG_P(debprof(PL_op));
        }
-    } while ( PL_op = (CALLOP->op_ppaddr)(ARGS) );
+    } while ( PL_op = (CALLOP->op_ppaddr)(aTHX) );
 
     TAINT_NOT;
     return 0;