You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Andrew Wilson <an...@aaaaaaaa.demon.co.uk> on 1996/06/12 15:38:59 UTC

-Wall warning... related to -DSTATUS...

FreeBSD-2.1-STABLE (in your dreams Paul), gcc version 2.6.3

before:

gcc -c -Wall -O2 -m486 http_request.c
http_request.c: In function `process_request':
http_request.c:752: warning: unused variable `old_stat'
gcc -c -Wall -O2 -m486 http_log.c

after:

gcc -c -Wall -O2 -DSTATUS -m486 http_request.c
gcc -c -Wall -O2 -DSTATUS -m486 http_log.c

Ay.

Re: -Wall warning... related to -DSTATUS...

Posted by Brian Behlendorf <br...@organic.com>.
Fixed - that variable is now ifdef'd STATUS.

	Brian

On Wed, 12 Jun 1996, Andrew Wilson wrote:
> FreeBSD-2.1-STABLE (in your dreams Paul), gcc version 2.6.3
> 
> before:
> 
> gcc -c -Wall -O2 -m486 http_request.c
> http_request.c: In function `process_request':
> http_request.c:752: warning: unused variable `old_stat'
> gcc -c -Wall -O2 -m486 http_log.c
> 
> after:
> 
> gcc -c -Wall -O2 -DSTATUS -m486 http_request.c
> gcc -c -Wall -O2 -DSTATUS -m486 http_log.c
> 
> Ay.
> 
> 

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  |  Visualize liking your job.  http://www.organic.com/JOBS