From c32452e74098ae779f5828d1c2a8961c8dd624cd Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 17 May 2004 05:52:21 +0000 Subject: [PATCH] fix uninitialized value --- stepmania/src/arch/Sound/ALSA9Helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/arch/Sound/ALSA9Helpers.cpp b/stepmania/src/arch/Sound/ALSA9Helpers.cpp index 5e97b83cc0..9888f56442 100644 --- a/stepmania/src/arch/Sound/ALSA9Helpers.cpp +++ b/stepmania/src/arch/Sound/ALSA9Helpers.cpp @@ -74,7 +74,7 @@ bool Alsa9Buf::SetHWParams() ALSA_CHECK("dsnd_pcm_hw_params_set_buffer_size_near"); /* The period size is roughly equivalent to what we call the chunksize. */ - int dir; + int dir = 0; err = dsnd_pcm_hw_params_set_period_size_near( pcm, hwparams, &chunksize, &dir ); ALSA_CHECK("dsnd_pcm_hw_params_set_period_size_near");