silence with (void) two warnings about computed and unused value of POP()

This commit is contained in:
Ezio Melotti 2009-10-03 16:14:07 +00:00
parent 36e0d0efd8
commit b4d286d04e
1 changed files with 2 additions and 2 deletions

View File

@ -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: