Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit20f7c3d

Browse files
committed
Suppress -Wimplicit-fallthrough warnings in new jsonpath code.
Per buildfarm. See commit41c912c for precedent.
1 parentf27314f commit20f7c3d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎src/backend/utils/adt/jsonpath.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ flattenJsonPathParseItem(StringInfo buf, JsonPathParseItem *item,
330330
break;
331331
casejpiFilter:
332332
argNestingLevel++;
333-
/*fall through */
333+
/*FALLTHROUGH */
334334
casejpiIsUnknown:
335335
casejpiNot:
336336
casejpiPlus:
@@ -439,10 +439,13 @@ alignStringInfoInt(StringInfo buf)
439439
{
440440
case3:
441441
appendStringInfoCharMacro(buf,0);
442+
/* FALLTHROUGH */
442443
case2:
443444
appendStringInfoCharMacro(buf,0);
445+
/* FALLTHROUGH */
444446
case1:
445447
appendStringInfoCharMacro(buf,0);
448+
/* FALLTHROUGH */
446449
default:
447450
break;
448451
}
@@ -849,7 +852,7 @@ jspInitByBuffer(JsonPathItem *v, char *base, int32 pos)
849852
casejpiString:
850853
casejpiVariable:
851854
read_int32(v->content.value.datalen,base,pos);
852-
/*follow next */
855+
/*FALLTHROUGH */
853856
casejpiNumeric:
854857
casejpiBool:
855858
v->content.value.data=base+pos;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp