From: Christian Heimes Date: Fri, 14 Dec 2007 02:33:57 +0000 (+0000) Subject: Silence a warning about an unsed variable in debug builds X-Git-Tag: v2.6a1~872 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52729ac856dea01cedc8661d1cfc2f58efe9a2ad;p=python Silence a warning about an unsed variable in debug builds --- diff --git a/Python/ceval.c b/Python/ceval.c index e218d051bc..d74d017996 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -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()