_PyMem_DebugFree(): fix compiler warning on Windows

Don't return a void value.
This commit is contained in:
Victor Stinner 2016-03-23 11:30:43 +01:00
parent 404cdc5a92
commit 0aed3a4ebc
1 changed files with 1 additions and 1 deletions

View File

@ -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 *