lkml.org 
[lkml]   [2008]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-02-29 12:09    [W:0.039 / U:2.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site