diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-23 10:30:43 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-23 10:30:43 (GMT) |
commit | 0aed3a4ebc42afcf41ea926b5fca721a0923b43e (patch) | |
tree | a84a3277d6b07935831d6afe8b42187ab7c3c729 /Objects | |
parent | 404cdc5a924a294a17c04b745df5549c32e08130 (diff) | |
download | cpython-0aed3a4ebc42afcf41ea926b5fca721a0923b43e.zip cpython-0aed3a4ebc42afcf41ea926b5fca721a0923b43e.tar.gz cpython-0aed3a4ebc42afcf41ea926b5fca721a0923b43e.tar.bz2 |
_PyMem_DebugFree(): fix compiler warning on Windows
Don't return a void value.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/obmalloc.c | 2 |
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 * |