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.
This commit is contained in:
Raymond Hettinger 2003-01-14 12:43:10 +00:00
parent 2d375f78a5
commit 8bb90a59a6

View file

@ -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: