Mercurial > cpython-lru_cache-weakref
diff Python/ceval.c @ 44292:44c418b2bf7f legacy-trunk
Silence a warning about an unsed variable in debug builds
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Fri, 14 Dec 2007 02:33:57 +0000 |
| parents | 334161f74b8e |
| children | 07aa19170a67 |
line wrap: on
line diff
--- a/Python/ceval.c Thu Dec 13 23:52:59 2007 +0000 +++ b/Python/ceval.c Fri Dec 14 02:33:57 2007 +0000 @@ -665,8 +665,9 @@ #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()
