Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b4d286d

Browse files
committed
silence with (void) two warnings about computed and unused value of POP()
1 parent 36e0d0e commit b4d286d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Python/ceval.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2509,13 +2509,13 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
25092509
PyObject *exit_func;
25102510
u = TOP();
25112511
if (u == Py_None) {
2512-
POP();
2512+
(void)POP();
25132513
exit_func = TOP();
25142514
SET_TOP(u);
25152515
v = w = Py_None;
25162516
}
25172517
else if (PyLong_Check(u)) {
2518-
POP();
2518+
(void)POP();
25192519
switch(PyLong_AsLong(u)) {
25202520
case WHY_RETURN:
25212521
case WHY_CONTINUE:

0 commit comments

Comments
 (0)