1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-11 20:28:21 +03:00

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.
This commit is contained in:
Peter Eisentraut
2012-07-16 22:15:03 +03:00
parent a76c857eba
commit dd16f9480a
20 changed files with 2 additions and 43 deletions

View File

@ -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