summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/audit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/audit.c')
-rw-r--r--src/emu/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/audit.c b/src/emu/audit.c
index 526a50f70a8..3f0c9f261cb 100644
--- a/src/emu/audit.c
+++ b/src/emu/audit.c
@@ -152,7 +152,7 @@ int audit_samples(core_options *options, const game_driver *gamedrv, audit_recor
int sampnum;
/* count the number of sample records attached to this driver */
- const device_config_sound_interface *sound;
+ const device_config_sound_interface *sound = NULL;
for (bool gotone = config->devicelist.first(sound); gotone; gotone = sound->next(sound))
if (sound->devconfig().type() == SOUND_SAMPLES)
{