Commit 8cf3968c authored by Dan Carpenter's avatar Dan Carpenter Committed by Takashi Iwai

ALSA: mixart: silence an uninitialized variable warning

We could print the uninitialized value of "stat" in the error message.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 447d6275
...@@ -132,7 +132,7 @@ static int mixart_set_pipe_state(struct mixart_mgr *mgr, ...@@ -132,7 +132,7 @@ static int mixart_set_pipe_state(struct mixart_mgr *mgr,
} }
if(start) { if(start) {
u32 stat; u32 stat = 0;
group_state.pipe_count = 0; /* in case of start same command once again with pipe_count=0 */ group_state.pipe_count = 0; /* in case of start same command once again with pipe_count=0 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment