Fix 'statement is unreachable' warning

This commit is contained in:
twinaphex 2015-01-11 15:55:02 +01:00
parent 140130dc37
commit 38a451b55b

View File

@ -2835,7 +2835,8 @@ bool rarch_main_command(unsigned cmd)
case RARCH_CMD_NETPLAY_INIT:
rarch_main_command(RARCH_CMD_NETPLAY_DEINIT);
#ifdef HAVE_NETPLAY
return init_netplay();
if (!init_netplay())
return false;
#endif
break;
case RARCH_CMD_NETPLAY_FLIP_PLAYERS: