From 97713f034e37e999939f8644de735c33492051c8 Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Wed, 7 Jul 2010 01:47:06 +0000 Subject: [PATCH] Fix reported OS X compile problem. --- src/emu/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();