aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/variables.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2012-07-16 22:15:03 +0300
committerPeter Eisentraut <peter_e@gmx.net>2012-07-16 22:15:03 +0300
commitdd16f9480ac67ab0c6b0102d110cd5121ed9ab46 (patch)
treef47afeb2053d2daa328047976fe9969556c40444 /src/bin/psql/variables.c
parenta76c857eba977a91a07ab752d4811eb5734f0b5c (diff)
downloadpostgresql-dd16f9480ac67ab0c6b0102d110cd5121ed9ab46.tar.gz
postgresql-dd16f9480ac67ab0c6b0102d110cd5121ed9ab46.zip
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.
Diffstat (limited to 'src/bin/psql/variables.c')
-rw-r--r--src/bin/psql/variables.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/psql/variables.c b/src/bin/psql/variables.c
index 4baa3e253a1..6875f63dc18 100644
--- a/src/bin/psql/variables.c
+++ b/src/bin/psql/variables.c
@@ -115,8 +115,6 @@ ParseVariableBool(const char *value)
psql_error("unrecognized Boolean value; assuming \"on\"\n");
return true;
}
- /* suppress compiler warning */
- return true;
}