Commit 4f3dfe1a authored by 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.
parent 0fbd6cdb
......@@ -920,7 +920,7 @@ eval_frame(PyFrameObject *f)
err = 0;
continue;
}
POP();
STACKADJ(-1);
break;
case UNARY_CONVERT:
......@@ -1960,7 +1960,7 @@ eval_frame(PyFrameObject *f)
SET_TOP(x);
continue;
}
POP();
STACKADJ(-1);
break;
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