From: Victor Stinner Date: Wed, 23 Mar 2016 10:30:43 +0000 (+0100) Subject: _PyMem_DebugFree(): fix compiler warning on Windows X-Git-Tag: v3.6.0a1~383 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0aed3a4ebc42afcf41ea926b5fca721a0923b43e;p=python _PyMem_DebugFree(): fix compiler warning on Windows Don't return a void value. --- diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index 503fcdfc5a..40c9fcdec9 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 *