mirror of
https://github.com/encounter/SDL.git
synced 2025-05-29 10:41:36 +00:00
Silence unused variable warning
SDL_x11dyn.c:123:17: warning: unused variable 'i' [-Wunused-variable] int i; ^
This commit is contained in:
parent
0e4baf1c4e
commit
371735e95b
@ -120,7 +120,9 @@ SDL_X11_UnloadSymbols(void)
|
||||
/* Don't actually unload if more than one module is using the libs... */
|
||||
if (x11_load_refcount > 0) {
|
||||
if (--x11_load_refcount == 0) {
|
||||
#ifdef SDL_VIDEO_DRIVER_X11_DYNAMIC
|
||||
int i;
|
||||
#endif
|
||||
|
||||
/* set all the function pointers to NULL. */
|
||||
#define SDL_X11_MODULE(modname) SDL_X11_HAVE_##modname = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user