From 21cd2df694936a2341d0611d58d4b8cee08c61ac Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 12 Oct 2017 14:02:24 -0700 Subject: [PATCH] Fixed compiler warning --- src/stdlib/SDL_malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdlib/SDL_malloc.c b/src/stdlib/SDL_malloc.c index ac13373d0..c2cb1f3a6 100644 --- a/src/stdlib/SDL_malloc.c +++ b/src/stdlib/SDL_malloc.c @@ -5370,7 +5370,7 @@ void SDL_free(void *ptr) } s_mem.free_func(ptr); - SDL_AtomicDecRef(&s_mem.num_allocations); + (void)SDL_AtomicDecRef(&s_mem.num_allocations); } /* vi: set ts=4 sw=4 expandtab: */