Commit 1630f5b9 authored by Tom Lane's avatar Tom Lane

Add comment about intentional fallthrough in switch.

Coverity complained about an apparent missing "break" in a switch
added by bb140506.  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.
parent 5306df28
...@@ -240,6 +240,7 @@ TS_execute_ternary(GinChkVal *gcv, QueryItem *curitem) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment