From 8fdaf61d4d79d3fc2540620732621df99af5a6a3 Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 1 Dec 2025 02:37:51 +0100 Subject: [PATCH] sdl_sound: fix -Wmaybe-uninitialized warning --- src/sdl/sdl_sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl/sdl_sound.c b/src/sdl/sdl_sound.c index 574af5469..b2d955dc3 100644 --- a/src/sdl/sdl_sound.c +++ b/src/sdl/sdl_sound.c @@ -272,7 +272,7 @@ static void StreamCallback(void *userdata, SDL_AudioStream *stream, int addition if (sample_buffer.f == NULL) return; - float pos; + float pos = 0.0f; if (fading_from != fading_to) pos = I_GetSongPosition();