diff options
| author | Peter Eisentraut | 2012-07-16 19:15:03 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2012-07-16 19:15:03 +0000 |
| commit | dd16f9480ac67ab0c6b0102d110cd5121ed9ab46 (patch) | |
| tree | f47afeb2053d2daa328047976fe9969556c40444 /contrib/ltree | |
| parent | a76c857eba977a91a07ab752d4811eb5734f0b5c (diff) | |
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 'contrib/ltree')
| -rw-r--r-- | contrib/ltree/ltxtquery_io.c | 1 | ||||
| -rw-r--r-- | contrib/ltree/ltxtquery_op.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/contrib/ltree/ltxtquery_io.c b/contrib/ltree/ltxtquery_io.c index c2e532c3b81..583ff2aaebb 100644 --- a/contrib/ltree/ltxtquery_io.c +++ b/contrib/ltree/ltxtquery_io.c @@ -139,7 +139,6 @@ gettoken_query(QPRS_STATE *state, int32 *val, int32 *lenval, char **strval, uint state->buf += charlen; } - return END; } /* diff --git a/contrib/ltree/ltxtquery_op.c b/contrib/ltree/ltxtquery_op.c index bedbe247eb8..64f9d219f76 100644 --- a/contrib/ltree/ltxtquery_op.c +++ b/contrib/ltree/ltxtquery_op.c @@ -40,7 +40,6 @@ ltree_execute(ITEM *curitem, void *checkval, bool calcnot, bool (*chkcond) (void else return ltree_execute(curitem + 1, checkval, calcnot, chkcond); } - return false; } typedef struct |
