bb-1.6: test.c ‘i’ may be used uninitialized

Denis Vlasenko vda.linux at googlemail.com
Thu Jun 21 13:36:01 UTC 2007


On Wednesday 20 June 2007 14:09, walter harms wrote:
> hi list,
> i do not know if it is are real problem ... but it should be fixed
> perhaps i=0 ?
> btw: this happends also with latest snapshot

When I see that gcc simply doesn't realize it is okay,
for space reasons I use int i = i - no code is generated.

> int test_main(int argc, char **argv);
> int test_main(int argc, char **argv)
> {
>         return bb_test(argc, argv);
> }

Hmmm... indeed. Removing...
--
vda



More information about the busybox mailing list