]> granicus.if.org Git - postgresql/commit
Clean up most -Wunused-but-set-variable warnings from gcc 4.6
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 11 Apr 2011 19:28:45 +0000 (22:28 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 11 Apr 2011 19:28:45 +0000 (22:28 +0300)
commit5caa3479c2efd31fca1b271db687e5e57c7de2d4
treead862f1b6620a5a376a67b4a320f23c212b45ef4
parent3c381a55b0fa1c4ca328211e39df8e1a715129cb
Clean up most -Wunused-but-set-variable warnings from gcc 4.6

This warning is new in gcc 4.6 and part of -Wall.  This patch cleans
up most of the noise, but there are some still warnings that are
trickier to remove.
34 files changed:
contrib/isn/isn.c
contrib/pageinspect/fsmfuncs.c
contrib/pgcrypto/pgp-s2k.c
contrib/pgcrypto/px-hmac.c
contrib/pgcrypto/px.c
contrib/seg/seg.c
src/backend/access/gist/gistvacuum.c
src/backend/access/nbtree/nbtpage.c
src/backend/catalog/pg_proc.c
src/backend/catalog/toasting.c
src/backend/commands/explain.c
src/backend/commands/tablecmds.c
src/backend/commands/tsearchcmds.c
src/backend/commands/vacuum.c
src/backend/executor/nodeHashjoin.c
src/backend/executor/nodeMergejoin.c
src/backend/executor/nodeRecursiveunion.c
src/backend/foreign/foreign.c
src/backend/libpq/auth.c
src/backend/optimizer/geqo/geqo_main.c
src/backend/parser/parse_utilcmd.c
src/backend/rewrite/rewriteDefine.c
src/backend/storage/ipc/standby.c
src/backend/storage/smgr/md.c
src/backend/utils/adt/ri_triggers.c
src/backend/utils/adt/selfuncs.c
src/bin/pg_dump/common.c
src/bin/pg_dump/pg_backup_custom.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dumpall.c
src/bin/psql/psqlscan.l
src/interfaces/ecpg/ecpglib/descriptor.c
src/interfaces/libpq/fe-auth.c
src/pl/plpgsql/src/pl_exec.c