httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ras...@madhaus.utcs.utoronto.ca
Subject -Wall police is back
Date Wed, 17 Apr 1996 00:11:47 GMT
If mod_status.c is compiled without -DSTATUS you get the following:

gcc -c -O2 -Wall -DLINUX -m486 mod_status.c
mod_status.c: In function `status_handler':
mod_status.c:148: warning: unused variable `tick'
mod_status.c:141: warning: unused variable `bcount'
mod_status.c:140: warning: unused variable `my_bytes'
mod_status.c:140: warning: unused variable `my_lres'
mod_status.c:139: warning: unused variable `bytes'
mod_status.c:139: warning: unused variable `lres'
mod_status.c:138: warning: unused variable `count'

There should probably be a #if STATUS around the variable declarations if
they are not going to be used.

-Rasmus

Mime
View raw message