mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
silence with (void) two warnings about computed and unused value of POP()
This commit is contained in:
parent
36e0d0efd8
commit
b4d286d04e
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue