]> granicus.if.org Git - python/commitdiff
Silence a warning about an unsed variable in debug builds
authorChristian Heimes <christian@cheimes.de>
Fri, 14 Dec 2007 02:33:57 +0000 (02:33 +0000)
committerChristian Heimes <christian@cheimes.de>
Fri, 14 Dec 2007 02:33:57 +0000 (02:33 +0000)
Python/ceval.c

index e218d051bc82813a0dde55e67fb4bb758198dc58..d74d0179963c6530a832e8c0fd0d4376bdff7c8b 100644 (file)
@@ -665,8 +665,9 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
 #define STACKADJ(n)    { (void)(BASIC_STACKADJ(n), \
                                lltrace && prtrace(TOP(), "stackadj")); \
                                assert(STACK_LEVEL() <= co->co_stacksize); }
-#define EXT_POP(STACK_POINTER) (lltrace && prtrace((STACK_POINTER)[-1], \
-                               "ext_pop"), *--(STACK_POINTER))
+#define EXT_POP(STACK_POINTER) ((void)(lltrace && \
+                               prtrace((STACK_POINTER)[-1], "ext_pop")), \
+                               *--(STACK_POINTER))
 #else
 #define PUSH(v)                BASIC_PUSH(v)
 #define POP()          BASIC_POP()