Commit 651dd52b authored by Brett Cannon's avatar Brett Cannon

Previous commit was viewed as "perverse". Changed to just cast the unused

variable to void..

Thanks to Sjoerd Mullender for the suggested change.
parent 955d2b21
......@@ -862,7 +862,9 @@ listpop(PyListObject *self, PyObject *args)
/* Use status, so that in a release build compilers don't
* complain about the unused name.
*/
return status++, v;
(void) status;
return 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