Skip to content

Commit

Permalink
Fixed compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 12, 2017
1 parent ba10d2b commit 21cd2df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib/SDL_malloc.c
Expand Up @@ -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: */

0 comments on commit 21cd2df

Please sign in to comment.