Re: [PATCH] kbuild: fix set but not used warnings

From: Peter Foley
Date: Sat Oct 22 2011 - 16:44:46 EST


On Sat, 22 Oct 2011, Arnaud Lacombe wrote:

> Hi,
>
> On Sat, Oct 22, 2011 at 2:01 PM, Peter Foley <pefoley2@xxxxxxxxxxx> wrote:
> > Remove set but not used variables to fix warnings.
> >
> >  HOSTCC  scripts/kconfig/gconf.o
> > /usr/src/lto/scripts/kconfig/gconf.c: In function 'change_sym_value':
> > /usr/src/lto/scripts/kconfig/gconf.c:833:11: warning: variable 'oldval' set but not used [-Wunused-but-set-variable]
> > /usr/src/lto/scripts/kconfig/gconf.c: In function 'update_tree':
> > /usr/src/lto/scripts/kconfig/gconf.c:1281:19: warning: variable 'prop' set but not used [-Wunused-but-set-variable]
> >
> > Signed-off-by: Peter Foley <pefoley2@xxxxxxxxxxx>
> >
> s/kbuild/kconfig/ in the subject, that help to know changes is only
> limited to scripts/kconfig/
>
> - Arnaud

Noted. Should I resend this patch?

Peter