diff options
author | Christian Heimes <christian@cheimes.de> | 2007-12-14 02:33:57 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-12-14 02:33:57 (GMT) |
commit | 52729ac856dea01cedc8661d1cfc2f58efe9a2ad (patch) | |
tree | 197a85fa2e93e909c1b51f17e175c280d58560ea /Python/ceval.c | |
parent | bc288e8bbde31f9255cdd5dcbfde287b0f0ec33a (diff) | |
download | cpython-52729ac856dea01cedc8661d1cfc2f58efe9a2ad.zip cpython-52729ac856dea01cedc8661d1cfc2f58efe9a2ad.tar.gz cpython-52729ac856dea01cedc8661d1cfc2f58efe9a2ad.tar.bz2 |
Silence a warning about an unsed variable in debug builds
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index e218d05..d74d017 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() |