Skip to content

Commit

Permalink
ALSA: mixart: silence an uninitialized variable warning
Browse files Browse the repository at this point in the history
We could print the uninitialized value of "stat" in the error message.

Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
Dan Carpenter authored and tiwai committed Mar 16, 2016
1 parent 447d627 commit 8cf3968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/mixart/mixart.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ static int mixart_set_pipe_state(struct mixart_mgr *mgr,
}

if(start) {
u32 stat;
u32 stat = 0;

group_state.pipe_count = 0; /* in case of start same command once again with pipe_count=0 */

Expand Down

0 comments on commit 8cf3968

Please sign in to comment.