]> Pileus Git - ~andy/linux/commit
[ALSA] sound: patch_sigmatel.c fix shadowed variable warning
authorHarvey Harrison <harvey.harrison@gmail.com>
Fri, 29 Feb 2008 10:56:48 +0000 (11:56 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:19 +0000 (12:00 +0200)
commit8b55178515e8872670dc830203dad0e9e51e16be
tree2871d4bf930bf8548fa5de12d1908337c3782c69
parent0b76b51e5807951995a39ea791b39971a7ae945f
[ALSA] sound: patch_sigmatel.c fix shadowed variable warning

Temp variable in the loop shadows the second argument (which is otherwise
unused in this function).  Change this to defcfg as it is used to hold
the default config.
sound/pci/hda/patch_sigmatel.c:2759:18: warning: symbol 'cfg' shadows an earlier one
sound/pci/hda/patch_sigmatel.c:2734:26: originally declared here

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