summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2016-04-11 03:52:34 +0000
committerTom Lane2016-04-11 03:52:34 +0000
commit1630f5b92a3a00aff5674f31af1d418628a00ac7 (patch)
tree3ae865de0cb13a9d7877dae0bb727203cdd876f7
parent5306df2831ab012d8008691f833457bc299962aa (diff)
Add comment about intentional fallthrough in switch.
Coverity complained about an apparent missing "break" in a switch added by bb140506df605fab. 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.
-rw-r--r--src/backend/utils/adt/tsginidx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/utils/adt/tsginidx.c b/src/backend/utils/adt/tsginidx.c
index fc0686ee66..3f1e7f961f 100644
--- a/src/backend/utils/adt/tsginidx.c
+++ b/src/backend/utils/adt/tsginidx.c
@@ -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);