You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by ra...@madhaus.utcs.utoronto.ca on 1996/04/17 02:11:47 UTC
-Wall police is back
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