set but not used
igor at sysoev.ru
Fri Jul 22 11:27:18 UTC 2011
On Fri, Jul 22, 2011 at 10:26:01AM -0000, y-iida at secom.co.jp wrote:
> Hello, nginx maintainer(s). Thank you for releasing nginx
> as free software.
> On sparc-sun-solaris2.10 with GCC 4.6.0 for GNU Binutils 2.21,
> nginx 1.0.5 does not compile due to the following:
> src/event/ngx_event_openssl.c:1690:31: error: variable 'c' set but not used
> Making without "-Werror" such as:
> make CFLAGS='-mcpu=v9 -pipe -O -W -Wall
> -Wpointer-arith -Wno-unused-parameter
> -Wunused-function -Wunused-variable
> -Wunused-value -g'
> solves it, but you may want to fix C source.
Thank you, it will be fixed in next version.
More information about the nginx