From 6f6c055f1cab40f835df5a54a1337ab04f479291 Mon Sep 17 00:00:00 2001 From: gheskett Date: Wed, 29 Jun 2022 00:17:04 -0400 Subject: [PATCH] Suppress a gcc10 compiler warning for uninitialized variable --- src/audio/synthesis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/synthesis.c b/src/audio/synthesis.c index 09c5e636..f06e193b 100644 --- a/src/audio/synthesis.c +++ b/src/audio/synthesis.c @@ -932,7 +932,7 @@ u64 *synthesis_process_notes(s16 *aiBuf, s32 bufLen, u64 *cmd) { s32 s5Aligned; #endif s32 resampledTempLen; // spD8, spAC - u16 noteSamplesDmemAddrBeforeResampling; // spD6, spAA + u16 noteSamplesDmemAddrBeforeResampling = 0; // spD6, spAA #ifndef VERSION_EU