From 651dd52b3ac247fe4a4f18231593a2da96ce8a68 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sun, 8 Aug 2004 21:21:18 +0000 Subject: [PATCH] Previous commit was viewed as "perverse". Changed to just cast the unused variable to void.. Thanks to Sjoerd Mullender for the suggested change. --- Objects/listobject.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. */ -- 2.50.1