summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2010-06-17 00:36:56 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2010-06-17 00:36:56 +0000
commita0015f38403a2c84da86a88de7714382cb7b01ea (patch)
tree3bf9c8cb5a52b5b0e78d126cc9e03ecffac176cc /src
parent316f61d195b1884d72f63a842a63e47419755060 (diff)
Yet more OS X PPC compile fixes (still no whatsnew)
Diffstat (limited to 'src')
-rw-r--r--src/emu/info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/info.c b/src/emu/info.c
index 4242378b9bc..51818ae4a6f 100644
--- a/src/emu/info.c
+++ b/src/emu/info.c
@@ -654,7 +654,7 @@ static void print_game_chips(FILE *out, const game_driver *game, const machine_c
}
/* iterate over sound chips */
- 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))
{
fprintf(out, "\t\t<chip");
@@ -762,7 +762,7 @@ static void print_game_sound(FILE *out, const game_driver *game, const machine_c
int speakers = speaker_output_count(config);
/* if we have no sound, zero out the speaker count */
- const device_config_sound_interface *sound;
+ const device_config_sound_interface *sound = NULL;
if (!config->devicelist.first(sound))
speakers = 0;