On Thu, Oct 4, 2012 at 12:03 PM, Gerald Pfeifer <ger...@pfeifer.com> wrote:
> Running `make test` on my nightly testers I noticed the following
> in the log files:
>
> cc1: warnings being treated as errors
> /scratch/tmp/gerald/gcc-HEAD/libbacktrace/btest.c: In function 'f23':
> /scratch/tmp/gerald/gcc-HEAD/libbacktrace/btest.c:476: warning: 'expected' 
> may be used uninitialized in this function
> gmake[3]: *** [btest-btest.o] Error 1
> gmake[3]: Target `btest' not remade because of errors.
>
> Doesn't this mean that effectively the test is not executed?

I don't think so, not sure what you are getting at here.  I'm not sure
why I even wrote "case 3:", j can never take on the value 3.

> 2012-10-04  Gerald Pfeifer  <ger...@pfeifer.com>
>
>         * btest.c (f23): Avoid uninitialized variable warning.

This is OK.

Thanks.

Ian

Reply via email to