commit | b4d286d04ea8941a22a0521b0bfa78db35ed11cf | [log] [tgz] |
---|---|---|
author | Ezio Melotti <ezio.melotti@gmail.com> | Sat Oct 03 16:14:07 2009 +0000 |
committer | Ezio Melotti <ezio.melotti@gmail.com> | Sat Oct 03 16:14:07 2009 +0000 |
tree | c4bf65a9b4ff4d74839ec72a8c5ecfd7326cb999 | |
parent | 36e0d0efd83ca1636be6d05ab1bed7d73fd84e83 [diff] |
silence with (void) two warnings about computed and unused value of POP()
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 @@ 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: