Skip to content

Commit

Permalink
[ALSA] sb16 - Suppress compile warning
Browse files Browse the repository at this point in the history
sound/isa/sb/sb16_csp.c: In function ‘snd_sb_csp_new’:
sound/isa/sb/sb16_csp.c:121: warning: ‘version’ may be used uninitialized in this function

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jan 31, 2008
1 parent 5050b09 commit cd0b4ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sound/isa/sb/sb16_csp.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ static void info_read(struct snd_info_entry *entry, struct snd_info_buffer *buff
int snd_sb_csp_new(struct snd_sb *chip, int device, struct snd_hwdep ** rhwdep)
{
struct snd_sb_csp *p;
int version, err;
int uninitialized_var(version);
int err;
struct snd_hwdep *hw;

if (rhwdep)
Expand Down

0 comments on commit cd0b4ac

Please sign in to comment.