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:
@ -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
|
||||
|
Reference in New Issue
Block a user