Re: fix some gcc warnings

2016-10-22 Thread Bruno Haible
Pádraig Brady wrote: > > 2016-10-16 Bruno Haible > > > > Fix some "gcc -Wall" warnings. > > * tests/test-ffsl.c (main): Use variable x, not i. > > * tests/test-posix_spawn3.c (parent_main): Consider the return value of > > freopen. > > *

Re: fix some gcc warnings

2016-10-16 Thread Pádraig Brady
On 16/10/16 16:01, Bruno Haible wrote: > Hi, > > When I compile a gnulib testdir with "gcc -Wall", I see the following warnings > (among others): > > test-ffsl.c: In function 'main': > test-ffsl.c:44:12: warning: unused variable 'x' [-Wunused-variable] > > test-posix_spawn3.c: In function