From 4b5641add1d8d2184945a91d2c899164d59f8093 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 26 Dec 2010 14:36:47 +0100 Subject: [PATCH] winealsa.drv: Re-add capcontrols initialization. --- dlls/winealsa.drv/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winealsa.drv/mixer.c b/dlls/winealsa.drv/mixer.c index 93c8927ba58..90760eb9e2d 100644 --- a/dlls/winealsa.drv/mixer.c +++ b/dlls/winealsa.drv/mixer.c @@ -431,7 +431,7 @@ static void ALSA_MixerInit(void) info = HeapAlloc( GetProcessHeap(), 0, snd_ctl_card_info_sizeof()); for (x = 0; x < MAX_MIXERS; ++x) { - int card, err, capcontrols, total_elems = 0; + int card, err, capcontrols = 0, total_elems = 0; char cardind[6], cardname[10]; snd_ctl_t *ctl;