summaryrefslogtreecommitdiffstats
path: root/Modules/collectionsmodule.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-07-19 00:10:24 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-07-19 00:10:24 (GMT)
commite9c89e8308077dbcdec7857efa13144279295117 (patch)
tree83855cf74fdf9593d2f05ebc13c58ba14f4bfee0 /Modules/collectionsmodule.c
parenta0e0cd3013840299a789f05be239d6ecb6387cdf (diff)
downloadcpython-e9c89e8308077dbcdec7857efa13144279295117.zip
cpython-e9c89e8308077dbcdec7857efa13144279295117.tar.gz
cpython-e9c89e8308077dbcdec7857efa13144279295117.tar.bz2
Silence a GCC unused variable warning in debug builds.
Diffstat (limited to 'Modules/collectionsmodule.c')
-rw-r--r--Modules/collectionsmodule.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/collectionsmodule.c b/Modules/collectionsmodule.c
index 9b8a091..8461ace 100644
--- a/Modules/collectionsmodule.c
+++ b/Modules/collectionsmodule.c
@@ -450,8 +450,7 @@ deque_dealloc(dequeobject *deque)
if (deque->weakreflist != NULL)
PyObject_ClearWeakRefs((PyObject *) deque);
if (deque->leftblock != NULL) {
- int err = deque_clear(deque);
- assert(err == 0);
+ deque_clear(deque);
assert(deque->leftblock != NULL);
PyMem_Free(deque->leftblock);
}