www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@apache.org>
Subject mod_proxy/891: gcc -Wshadow warnings in proxy
Date Mon, 21 Jul 1997 05:40:01 GMT

>Number:         891
>Category:       mod_proxy
>Synopsis:       gcc -Wshadow warnings in proxy
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Jul 20 22:40:01 1997
>Originator:     dgaudet@apache.org
>Organization:
apache
>Release:        
>Environment:
n/a
>Description:
These are gcc -Wshadow warnings from the proxy that should be cleaned up.  The
now/expire ones in particular should be looked over, there's the potential for
a bug.

Dean

proxy_cache.c: In function `proxy_cache_check':
proxy_cache.c:466: warning: declaration of `now' shadows global declaration
proxy_cache.c: In function `proxy_cache_update':
proxy_cache.c:629: warning: declaration of `expire' shadows global declaration
proxy_cache.c:630: warning: declaration of `now' shadows global declaration

proxy_ftp.c: In function `proxy_ftp_canon':
proxy_ftp.c:112: warning: declaration of `pool' shadows global declaration
proxy_ftp.c: In function `encode_space':
proxy_ftp.c:218: warning: declaration of `pool' shadows global declaration
proxy_ftp.c: In function `send_dir':
proxy_ftp.c:275: warning: declaration of `link' shadows global declaration
proxy_ftp.c: In function `proxy_ftp_handler':
proxy_ftp.c:404: warning: declaration of `pool' shadows global declaration

proxy_http.c: In function `proxy_http_handler':
proxy_http.c:155: warning: declaration of `pool' shadows global declaration 

proxy_util.c:183: warning: declaration of `pool' shadows global declaration
proxy_util.c: In function `proxy_canon_netloc':
proxy_util.c:185: warning: declaration of `pool' shadows global declaration
proxy_util.c: At top level:
proxy_util.c:326: warning: declaration of `pool' shadows global declaration
proxy_util.c: In function `proxy_read_headers':
proxy_util.c:327: warning: declaration of `pool' shadows global declaration
proxy_util.c: In function `proxy_hash':
proxy_util.c:634: warning: declaration of `table' shadows global declaration
>How-To-Repeat:
add -Wshadow to EXTRA_CFLAGS and rebuild
>Fix:

>Audit-Trail:
>Unformatted:



Mime
View raw message