On Thu, Jul 12, 2012 at 1:42 PM, Gilles J. Seguin <[email protected]> wrote:

> fedora gcc-4.7.0-5.fc17.x86_64
> $ gcc -I../include -Werror -Wno-unused -Wall -c zsocket.c -o zsocket.o
> zsocket.c: In function ‘zsocket_poll’:
> zsocket.c:152:9: error: unused variable ‘rc’ [-Werror=unused-variable]
> cc1: all warnings being treated as errors

Indeed, it's unused. Some other random compiler was complaining about
"return value discarded".

Feel free to send a pull request to fix this.

-Pieter
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to