all these warnings...

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Sun May 1 08:38:59 UTC 2011


On Sat, 30 Apr 2011, Denys Vlasenko wrote:
> On Saturday 30 April 2011 18:34, Cristian Ionescu-Idbohrn wrote:
> > dist: debian unstable (aka sid)
> > gcc-4.6.real (Debian 4.6.0-6) 4.6.1 20110428 (prerelease)
> > BusyBox v1.19.0.git (2011-04-30 18:22:26 CEST) multi-call binary.
> >
> > I'd like to understand what's going on, why, and what I can do about it:
> >
> >   HOSTCC  scripts/kconfig/conf.o
> > scripts/kconfig/conf.c: In function 'conf_string':
> > scripts/kconfig/conf.c:176:20: warning: variable 'help' set but not used
> > [-Wunused-but-set-variable]
>
> Above, variable "help" is not used and can be deleted.
> You can send a patch which fixes it.

Alright.  See attached patch proposals.
3 + 2 + 1 warnings may now be gone, half a gazillion still lurking around ;)


Cheers,

-- 
Cristian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: variable-set-but-not-used-warnings.01.patch
Type: text/x-diff
Size: 2754 bytes
Desc: 
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110501/a648f736/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: variable-set-but-not-used-warnings.02.patch
Type: text/x-diff
Size: 1300 bytes
Desc: 
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110501/a648f736/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: variable-set-but-not-used-warnings.03.patch
Type: text/x-diff
Size: 1282 bytes
Desc: 
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110501/a648f736/attachment-0002.bin>


More information about the busybox mailing list