Messages in this thread | | | Date | Fri, 29 Feb 2008 12:06:48 +0100 | From | Takashi Iwai <> | Subject | Re: [PATCH 2/3] sound: patch_sigmatel.c fix shadowed variable warning |
| |
At Thu, 28 Feb 2008 16:18:10 -0800, Harvey Harrison wrote: > > 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>
Thanks, applied to ALSA tree. (Oh it's using long instead of int - although it's harmless, I'll fix soon...)
Takashi
| |