summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-23 10:30:43 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-23 10:30:43 (GMT)
commit0aed3a4ebc42afcf41ea926b5fca721a0923b43e (patch)
treea84a3277d6b07935831d6afe8b42187ab7c3c729
parent404cdc5a924a294a17c04b745df5549c32e08130 (diff)
downloadcpython-0aed3a4ebc42afcf41ea926b5fca721a0923b43e.zip
cpython-0aed3a4ebc42afcf41ea926b5fca721a0923b43e.tar.gz
cpython-0aed3a4ebc42afcf41ea926b5fca721a0923b43e.tar.bz2
_PyMem_DebugFree(): fix compiler warning on Windows
Don't return a void value.
-rw-r--r--Objects/obmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index 503fcdf..40c9fcd 100644
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -2039,7 +2039,7 @@ static void
_PyMem_DebugFree(void *ctx, void *ptr)
{
_PyMem_DebugCheckGIL();
- return _PyMem_DebugRawFree(ctx, ptr);
+ _PyMem_DebugRawFree(ctx, ptr);
}
static void *