projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5050b09
)
[ALSA] sb16 - Suppress compile warning
author
Takashi Iwai
<tiwai@suse.de>
Fri, 14 Dec 2007 11:18:52 +0000
(12:18 +0100)
committer
Jaroslav Kysela
<perex@perex.cz>
Thu, 31 Jan 2008 16:29:34 +0000
(17:29 +0100)
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>
sound/isa/sb/sb16_csp.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/isa/sb/sb16_csp.c
b/sound/isa/sb/sb16_csp.c
index 3682059787abec3639a36574e7c779dccae4dcb5..5f21aec585f61805d54cf5886ab66e4f2d61cbdd 100644
(file)
--- 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
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)