Commit de26cfc1 authored by Fred Drake's avatar Fred Drake

Suppress a bunch of "value computed is not used" warnings when building in

debug mode (--with-pydebug).
parent c6879604
...@@ -542,8 +542,8 @@ eval_frame(PyFrameObject *f) ...@@ -542,8 +542,8 @@ eval_frame(PyFrameObject *f)
#define BASIC_POP() (*--stack_pointer) #define BASIC_POP() (*--stack_pointer)
#ifdef LLTRACE #ifdef LLTRACE
#define PUSH(v) (BASIC_PUSH(v), lltrace && prtrace(TOP(), "push")) #define PUSH(v) (void)(BASIC_PUSH(v), lltrace && prtrace(TOP(), "push"))
#define POP() (lltrace && prtrace(TOP(), "pop"), BASIC_POP()) #define POP() ((void)(lltrace && prtrace(TOP(), "pop")), BASIC_POP())
#else #else
#define PUSH(v) BASIC_PUSH(v) #define PUSH(v) BASIC_PUSH(v)
#define POP() BASIC_POP() #define POP() BASIC_POP()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment