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/backend/access/gist/gistget.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/backend/access/gist/gistget.c') diff --git a/src/backend/access/gist/gistget.c b/src/backend/access/gist/gistget.c index c790ad6ffb4..2253e7c0eb7 100644 --- a/src/backend/access/gist/gistget.c +++ b/src/backend/access/gist/gistget.c @@ -535,8 +535,6 @@ gistgettuple(PG_FUNCTION_ARGS) } while (so->nPageData == 0); } } - - PG_RETURN_BOOL(false); /* keep compiler quiet */ } /* -- cgit v1.2.3