From dd16f9480ac67ab0c6b0102d110cd5121ed9ab46 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 16 Jul 2012 22:15:03 +0300 Subject: 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. --- src/bin/psql/variables.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/bin/psql/variables.c') 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; } -- cgit v1.2.3