summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui.c
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2010-07-07 01:47:06 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2010-07-07 01:47:06 +0000
commit97713f034e37e999939f8644de735c33492051c8 (patch)
tree75ea6cea1d9d1affaf3b37606c1971ab9bc70beb /src/emu/ui.c
parent95800497848afe0d5d551efbef4af9d2dc39e1bc (diff)
Fix reported OS X compile problem.
Diffstat (limited to 'src/emu/ui.c')
-rw-r--r--src/emu/ui.c2
1 files changed, 1 insertions, 1 deletions
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();