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

walter harms wharms at bfs.de
Wed Jun 20 12:09:39 UTC 2007


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


cc1: warnings being treated as errors
coreutils/test.c: In function ‘nexpr’:
coreutils/test.c:391: warning: ‘i’ may be used uninitialized in this function
make[1]: *** [coreutils/test.o] Fehler 1
make: *** [coreutils] Fehler 2


i am just curios, why this prototype ??

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


re,
 walter



More information about the busybox mailing list