diff --git a/src/emu/ui.c b/src/emu/ui.c index 4d7bee73518..01f5936d07f 100644 --- a/src/emu/ui.c +++ b/src/emu/ui.c @@ -1645,7 +1645,7 @@ static slider_state *slider_init(running_machine *machine) /* add CPU overclocking (cheat only) */ if (options_get_bool(machine->options(), OPTION_CHEAT)) { - device_execute_interface *exec; + device_execute_interface *exec = NULL; for (bool gotone = machine->m_devicelist.first(exec); exec != NULL; gotone = exec->next(exec)) { void *param = (void *)&exec->device();