mirror of
https://github.com/postgres/postgres.git
synced 2025-09-09 13:09:39 +03:00
Add comment about intentional fallthrough in switch.
Coverity complained about an apparent missing "break" in a switch
added by bb140506df
. The human-readable comments are pretty
clear that this is intentional, but add a standard /* FALL THRU */
comment to make it clear to tools too.
This commit is contained in:
@@ -240,6 +240,7 @@ TS_execute_ternary(GinChkVal *gcv, QueryItem *curitem)
|
|||||||
* treat OP_PHRASE as OP_AND with recheck requirement
|
* treat OP_PHRASE as OP_AND with recheck requirement
|
||||||
*/
|
*/
|
||||||
*gcv->need_recheck = true;
|
*gcv->need_recheck = true;
|
||||||
|
/* FALL THRU */
|
||||||
|
|
||||||
case OP_AND:
|
case OP_AND:
|
||||||
val1 = TS_execute_ternary(gcv, curitem + curitem->qoperator.left);
|
val1 = TS_execute_ternary(gcv, curitem + curitem->qoperator.left);
|
||||||
|
Reference in New Issue
Block a user