diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-12-14 06:18:52 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:29:34 -0500 |
commit | cd0b4ac839529e0f458e83946f49f3f30b7b5be8 (patch) | |
tree | 189c4f7afc8bda5dcac4f0dbebc60592b61109c8 /sound | |
parent | 5050b0921a0f838314b1b9c4d7c16d5c8ed8c1fc (diff) |
[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: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/isa/sb/sb16_csp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/isa/sb/sb16_csp.c b/sound/isa/sb/sb16_csp.c index 3682059787ab..5f21aec585f6 100644 --- a/sound/isa/sb/sb16_csp.c +++ b/sound/isa/sb/sb16_csp.c | |||
@@ -118,7 +118,8 @@ static void info_read(struct snd_info_entry *entry, struct snd_info_buffer *buff | |||
118 | int snd_sb_csp_new(struct snd_sb *chip, int device, struct snd_hwdep ** rhwdep) | 118 | int snd_sb_csp_new(struct snd_sb *chip, int device, struct snd_hwdep ** rhwdep) |
119 | { | 119 | { |
120 | struct snd_sb_csp *p; | 120 | struct snd_sb_csp *p; |
121 | int version, err; | 121 | int uninitialized_var(version); |
122 | int err; | ||
122 | struct snd_hwdep *hw; | 123 | struct snd_hwdep *hw; |
123 | 124 | ||
124 | if (rhwdep) | 125 | if (rhwdep) |