[Python-checkins] cpython: _PyMem_DebugFree(): fix compiler warning on Windows
victor.stinner
python-checkins at python.org
Wed Mar 23 06:39:32 EDT 2016
https://hg.python.org/cpython/rev/b85f8cf51389
changeset: 100680:b85f8cf51389
user: Victor Stinner <victor.stinner at gmail.com>
date: Wed Mar 23 11:30:43 2016 +0100
summary:
_PyMem_DebugFree(): fix compiler warning on Windows
Don't return a void value.
files:
Objects/obmalloc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -2039,7 +2039,7 @@
_PyMem_DebugFree(void *ctx, void *ptr)
{
_PyMem_DebugCheckGIL();
- return _PyMem_DebugRawFree(ctx, ptr);
+ _PyMem_DebugRawFree(ctx, ptr);
}
static void *
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list