aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.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/backend/access/gist/gistget.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/backend/access/gist/gistget.c')
-rw-r--r--src/backend/access/gist/gistget.c2
1 files changed, 0 insertions, 2 deletions
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 */
}
/*