]> err.no Git - linux-2.6/commit
[ALSA] sound: cmipci.c fix shadowed variable warning
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 28 Feb 2008 10:52:17 +0000 (11:52 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:16 +0000 (12:00 +0200)
commit7dfa31ed5e1fc0ace7f1959b9564ad43d78fd7af
tree4176e43cf2287509ad0066db547f7120b530023a
parent964a788e0ba64aa4ce2e6488718f3ee28cc2e61e
[ALSA] sound: cmipci.c fix shadowed variable warning

A temporary variable for each mixer element is used in an initialization
loop, use the name elem_id.

sound/pci/cmipci.c:2747:26: warning: symbol 'id' shadows an earlier one
sound/pci/cmipci.c:56:13: originally declared here

[tiwai - fixed a coding style issue as well]

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cmipci.c