From 0aed3a4ebc42afcf41ea926b5fca721a0923b43e Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 23 Mar 2016 11:30:43 +0100 Subject: _PyMem_DebugFree(): fix compiler warning on Windows Don't return a void value. --- Objects/obmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 * -- cgit v0.12