Skip site navigation (1) Skip section navigation (2)

pgsql: Remove unreachable code

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove unreachable code
Date: 2012-07-16 19:17:15
Message-ID: E1SqqnD-0001Wj-1m@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Remove unreachable code

The Solaris Studio compiler warns about these instances, unlike more
mainstream compilers such as gcc.  But manual inspection showed that
the code is clearly not reachable, and we hope no worthy compiler will
complain about removing this code.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/dd16f9480ac67ab0c6b0102d110cd5121ed9ab46

Modified Files
--------------
contrib/hstore/hstore_io.c              |    2 --
contrib/intarray/_int_bool.c            |    3 ---
contrib/intarray/_int_gist.c            |    2 --
contrib/ltree/ltxtquery_io.c            |    1 -
contrib/ltree/ltxtquery_op.c            |    1 -
src/backend/access/gin/ginbtree.c       |    3 ---
src/backend/access/gin/ginget.c         |    2 --
src/backend/access/gist/gistget.c       |    2 --
src/backend/executor/nodeGroup.c        |    3 ---
src/backend/libpq/be-secure.c           |    4 ++--
src/backend/storage/buffer/freelist.c   |    3 ---
src/backend/tcop/postgres.c             |    5 -----
src/backend/tsearch/dict_thesaurus.c    |    2 --
src/backend/utils/adt/formatting.c      |    1 -
src/backend/utils/adt/tsquery.c         |    1 -
src/backend/utils/adt/tsvector_parser.c |    2 --
src/bin/pg_basebackup/pg_receivexlog.c  |    3 ---
src/bin/psql/variables.c                |    2 --
src/interfaces/ecpg/ecpglib/typename.c  |    1 -
src/pl/plpgsql/src/pl_exec.c            |    2 --
20 files changed, 2 insertions(+), 43 deletions(-)

pgsql-committers by date

Next:From: Alvaro HerreraDate: 2012-07-17 04:03:46
Subject: pgsql: Introduce timeout handling framework
Previous:From: Tom LaneDate: 2012-07-16 17:25:44
Subject: pgsql: Avoid pre-determining index names during CREATE TABLE LIKEparsi

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group