From 8bb90a59a641979385f063249143a05a6198725e Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 14 Jan 2003 12:43:10 +0000 Subject: 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. --- Python/ceval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Python/ceval.c b/Python/ceval.c index b23c26a..1fab1cc 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -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: -- cgit v0.12