Commit 21cd2df694936a2341d0611d58d4b8cee08c61ac

Sam Lantinga 2017-10-12T14:02:24

Fixed compiler warning

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/stdlib/SDL_malloc.c b/src/stdlib/SDL_malloc.c
index ac13373..c2cb1f3 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: */