]> err.no Git - linux-2.6/commit
[ALSA] sound: ca0106_mixer.c fix shadowed variable warnings
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 28 Feb 2008 11:02:56 +0000 (12:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:17 +0000 (12:00 +0200)
commitbed515b0dfdcf8f440c7e6c5bad8ce3eb96fb625
tree8f5b0755cb4b2b192f1115833528f27b654e29e1
parentd967a02712f09265b3c357f35f125715f5dffd2f
[ALSA] sound: ca0106_mixer.c fix shadowed variable warnings

Change the variable err to _err within the ADD_CTLS macro to avoid
shadowing the local variable.

sound/pci/ca0106/ca0106_mixer.c:710:2: warning: symbol 'err' shadows an earlier one
sound/pci/ca0106/ca0106_mixer.c:663:6: originally declared here
sound/pci/ca0106/ca0106_mixer.c:712:3: warning: symbol 'err' shadows an earlier one
sound/pci/ca0106/ca0106_mixer.c:663:6: originally declared here
sound/pci/ca0106/ca0106_mixer.c:721:3: warning: symbol 'err' shadows an earlier one
sound/pci/ca0106/ca0106_mixer.c:663:6: originally declared here

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