Remove unused variable

This commit is contained in:
twinaphex 2015-03-27 16:58:45 +01:00
parent 226c6ff41a
commit bea8fb1b19

View File

@ -532,9 +532,9 @@ static int do_state_checks(rarch_cmd_state_t *cmd)
if (cmd->osk_pressed)
{
driver_t *driver = driver_get_ptr();
settings_t *settings = config_get_ptr();
driver->keyboard_linefeed_enable = !driver->keyboard_linefeed_enable;
if (driver)
driver->keyboard_linefeed_enable = !driver->keyboard_linefeed_enable;
}
if (cmd->volume_up_pressed)