Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cd0b4ac839529e0f458e83946f49f3f30b7b5be8
Commit:     cd0b4ac839529e0f458e83946f49f3f30b7b5be8
Parent:     5050b0921a0f838314b1b9c4d7c16d5c8ed8c1fc
Author:     Takashi Iwai <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 14 12:18:52 2007 +0100
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Thu Jan 31 17:29:34 2008 +0100

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 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 3682059..5f21aec 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
 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)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to