1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +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:
Tom Lane
2016-04-10 23:52:34 -04:00
parent 5306df2831
commit 1630f5b92a

View File

@ -240,6 +240,7 @@ TS_execute_ternary(GinChkVal *gcv, QueryItem *curitem)
* treat OP_PHRASE as OP_AND with recheck requirement
*/
*gcv->need_recheck = true;
/* FALL THRU */
case OP_AND:
val1 = TS_execute_ternary(gcv, curitem + curitem->qoperator.left);