Commit cd0b4ac8 authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[ALSA] sb16 - Suppress compile warning

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: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent 5050b092
...@@ -118,7 +118,8 @@ static void info_read(struct snd_info_entry *entry, struct snd_info_buffer *buff ...@@ -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) int snd_sb_csp_new(struct snd_sb *chip, int device, struct snd_hwdep ** rhwdep)
{ {
struct snd_sb_csp *p; struct snd_sb_csp *p;
int version, err; int uninitialized_var(version);
int err;
struct snd_hwdep *hw; struct snd_hwdep *hw;
if (rhwdep) if (rhwdep)
......
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