From: Brett Cannon Date: Sun, 8 Aug 2004 21:21:18 +0000 (+0000) Subject: Previous commit was viewed as "perverse". Changed to just cast the unused X-Git-Tag: v2.4a3~319 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=651dd52b3ac247fe4a4f18231593a2da96ce8a68;p=python Previous commit was viewed as "perverse". Changed to just cast the unused variable to void.. Thanks to Sjoerd Mullender for the suggested change. --- diff --git a/Objects/listobject.c b/Objects/listobject.c index c95d530bcd..e5d5b2579e 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -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. */