summaryrefslogtreecommitdiff
path: root/contrib/intarray/_int_bool.c
diff options
context:
space:
mode:
authorPeter Eisentraut2012-07-16 19:15:03 +0000
committerPeter Eisentraut2012-07-16 19:15:03 +0000
commitdd16f9480ac67ab0c6b0102d110cd5121ed9ab46 (patch)
treef47afeb2053d2daa328047976fe9969556c40444 /contrib/intarray/_int_bool.c
parenta76c857eba977a91a07ab752d4811eb5734f0b5c (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/intarray/_int_bool.c')
-rw-r--r--contrib/intarray/_int_bool.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/contrib/intarray/_int_bool.c b/contrib/intarray/_int_bool.c
index dfb113a8ea5..d0572afc1e3 100644
--- a/contrib/intarray/_int_bool.c
+++ b/contrib/intarray/_int_bool.c
@@ -136,7 +136,6 @@ gettoken(WORKSTATE *state, int32 *val)
}
(state->buf)++;
}
- return END;
}
/*
@@ -301,7 +300,6 @@ execute(ITEM *curitem, void *checkval, bool calcnot,
else
return execute(curitem - 1, checkval, calcnot, chkcond);
}
- return false;
}
/*
@@ -404,7 +402,6 @@ contains_required_value(ITEM *curitem)
else
return false;
}
- return false;
}
bool