chieryw / distcc

Automatically exported from code.google.com/p/distcc
GNU General Public License v2.0
0 stars 0 forks source link

lsdistcc.c compile fails: variable 'nready' set but not used [-Werror] #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
distcc 3.2rc1 SVN r762, Ubuntu 11.10, gcc 4.6.1

src/lsdistcc.c: In function 'one_poll_loop':
src/lsdistcc.c:671:9: error: variable 'nready' set but not used 
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[1]: *** [src/lsdistcc.o] Error 1

Attached patch fixes it.

Original issue reported on code.google.com by kamal@whence.com on 5 Apr 2012 at 4:14

Attachments:

GoogleCodeExporter commented 9 years ago
The patch looks good to me.

Original comment by fergus.h...@gmail.com on 5 Apr 2012 at 6:17

GoogleCodeExporter commented 9 years ago
Fix applied as SVN r763.

Original comment by kamal@whence.com on 5 Apr 2012 at 9:42