summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2009-10-03 16:14:07 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2009-10-03 16:14:07 (GMT)
commitb4d286d04ea8941a22a0521b0bfa78db35ed11cf (patch)
treec4bf65a9b4ff4d74839ec72a8c5ecfd7326cb999 /Python
parent36e0d0efd83ca1636be6d05ab1bed7d73fd84e83 (diff)
downloadcpython-b4d286d04ea8941a22a0521b0bfa78db35ed11cf.zip
cpython-b4d286d04ea8941a22a0521b0bfa78db35ed11cf.tar.gz
cpython-b4d286d04ea8941a22a0521b0bfa78db35ed11cf.tar.bz2
silence with (void) two warnings about computed and unused value of POP()
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 003d4df..dd378d6 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -2509,13 +2509,13 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
PyObject *exit_func;
u = TOP();
if (u == Py_None) {
- POP();
+ (void)POP();
exit_func = TOP();
SET_TOP(u);
v = w = Py_None;
}
else if (PyLong_Check(u)) {
- POP();
+ (void)POP();
switch(PyLong_AsLong(u)) {
case WHY_RETURN:
case WHY_CONTINUE: