summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emu/sound/cdda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/cdda.c b/src/emu/sound/cdda.c
index 0a1863cdc82..0f1b9317131 100644
--- a/src/emu/sound/cdda.c
+++ b/src/emu/sound/cdda.c
@@ -91,7 +91,7 @@ void cdda_set_cdrom(running_device *device, void *file)
running_device *cdda_from_cdrom(running_machine *machine, void *file)
{
- device_sound_interface *sound;
+ device_sound_interface *sound = NULL;
for (bool gotone = machine->devicelist.first(sound); gotone; gotone = sound->next(sound))
if (sound->device().type() == SOUND_CDDA)