From 583795ee3659e8cb0affdfe7583b47a040e3e9be Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 11 Sep 2016 16:47:51 +0200 Subject: [PATCH] Silence warning for targets that don't have HAVE_NETPLAY (GX/Wii) --- command.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/command.c b/command.c index 3e268b4f04..fc5488d59d 100644 --- a/command.c +++ b/command.c @@ -1309,7 +1309,9 @@ static void command_event_set_savestate_auto_index(void) static bool event_init_content(void) { +#ifdef HAVE_NETPLAY global_t *global = global_get_ptr(); +#endif rarch_ctl(RARCH_CTL_SET_SRAM_ENABLE, NULL);