sdl_sound: fix -Wmaybe-uninitialized warning

This commit is contained in:
Alug committed 2025-12-01 02:37:51 +01:00
1 parent 555a187ae8
commit 8fdaf61d4d
1 file changed
+1 -1
+1 -1
View File
@@ -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();