mirror of https://github.com/python/cpython
silence with (void) two warnings about computed and unused value of POP()
This commit is contained in:
parent
36e0d0efd8
commit
b4d286d04e
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue