Fix warnings about shadowed variables, and use -Wshadow in maintainer mode.
authorMichael Poole <mdpoole@troilus.org>
Fri, 6 Mar 2009 12:17:20 +0000 (07:17 -0500)
committerMichael Poole <mdpoole@troilus.org>
Fri, 6 Mar 2009 12:17:20 +0000 (07:17 -0500)
commitfb43f026602d2cc87eef884f5616cd0925408c3e
tree22a7d1334cea5291fafd5e190318eb501d35b030
parentd21903e901e8b95bc7bbe7c35b0d85385de24d2a
Fix warnings about shadowed variables, and use -Wshadow in maintainer mode.

Inspired by a bug in modmcd.c's check_alias_args() spotted by the eagle
eyes of gix.

(I will omit list the function-by-function change log -- most of it is very
mechanical, and involves renaming paramaters and local variables that used
to shadow standard Unix functions.)
19 files changed:
configure.in
src/chanserv.c
src/hash.h
src/heap.c
src/log.c
src/main-common.c
src/main.c
src/md5.c
src/mod-helpserv.c
src/mod-memoserv.c
src/modcmd.c
src/nickserv.c
src/opserv.c
src/proto-bahamut.c
src/proto-common.c
src/proto-p10.c
src/sar.c
src/timeq.c
src/tools.c