Skip to content

Commit 1630f5b

Browse files
committed
Add comment about intentional fallthrough in switch.
Coverity complained about an apparent missing "break" in a switch added by bb14050. 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.
1 parent 5306df2 commit 1630f5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/utils/adt/tsginidx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ TS_execute_ternary(GinChkVal *gcv, QueryItem *curitem)
240240
* treat OP_PHRASE as OP_AND with recheck requirement
241241
*/
242242
*gcv->need_recheck = true;
243+
/* FALL THRU */
243244

244245
case OP_AND:
245246
val1 = TS_execute_ternary(gcv, curitem + curitem->qoperator.left);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy