From 826d9cdf1c26967c3542987681b05aebeeb87090 Mon Sep 17 00:00:00 2001 From: OBattler Date: Thu, 28 Jul 2022 03:53:52 +0200 Subject: [PATCH] Fixed a warning in the Sound Blaster code. --- src/sound/snd_sb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/snd_sb.c b/src/sound/snd_sb.c index 609786d0d..fb2332fbd 100644 --- a/src/sound/snd_sb.c +++ b/src/sound/snd_sb.c @@ -266,7 +266,7 @@ sb_get_buffer_sbpro(int32_t *buffer, int len, void *p) sb_ct1345_mixer_t *mixer = &sb->mixer_sbpro; int c; double out_l = 0.0, out_r = 0.0; - int32_t *opl_buf, *opl2_buf; + int32_t *opl_buf = NULL, *opl2_buf = NULL; if (sb->opl_enabled) { if (sb->dsp.sb_type == SBPRO) {