Kaydet (Commit) 8bb90a59 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Replaced POP() with STACKADJ(-1) on lines where the result wasn't used.

The two are semantically equivalent, but the first triggered a compiler
warning about an unused variable.  Note, the preceding steps had already
accessed and decreffed the variable so the reference counts were fine.
üst 2d375f78
...@@ -920,7 +920,7 @@ eval_frame(PyFrameObject *f) ...@@ -920,7 +920,7 @@ eval_frame(PyFrameObject *f)
err = 0; err = 0;
continue; continue;
} }
POP(); STACKADJ(-1);
break; break;
case UNARY_CONVERT: case UNARY_CONVERT:
...@@ -1960,7 +1960,7 @@ eval_frame(PyFrameObject *f) ...@@ -1960,7 +1960,7 @@ eval_frame(PyFrameObject *f)
SET_TOP(x); SET_TOP(x);
continue; continue;
} }
POP(); STACKADJ(-1);
break; break;
case FOR_ITER: case FOR_ITER:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment