sdl_sound: fix -Wmaybe-uninitialized warning
This commit is contained in:
1 parent
d100401c5f
commit
567a48aac3
1 file changed
+1
-1
+1
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user