Commit 5ad28e14 authored by Brett Cannon's avatar Brett Cannon

Tweak previous patch to silence a warning about the unused left value in the

comma expression in listpop() that was being returned.  Still essentially
unused (as it is meant to be), but now the compiler thinks it is worth
*something* by having it incremented.
parent bec69f6a
......@@ -862,7 +862,7 @@ listpop(PyListObject *self, PyObject *args)
/* Use status, so that in a release build compilers don't
* complain about the unused name.
*/
return status, v;
return status++, v;
}
/* Reverse a slice of a list in place, from lo up to (exclusive) hi. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment