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

variable to void..

Thanks to Sjoerd Mullender for the suggested change.
This commit is contained in:
Brett Cannon 2004-08-08 21:21:18 +00:00
parent 955d2b2168
commit 651dd52b3a
1 changed files with 3 additions and 1 deletions

View File

@ -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. */