Skip to content

Commit c967e13

Browse files
committed
Fix implicit-fallthrough compiler warning introduced in 6dda292.
For some reason at least gcc-9 warns about the fallthrough, even though it otherwise recognizes that elog(ERROR, ...) doesn't return. Author: Andres Freund
1 parent b9bffa0 commit c967e13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/utils/adt/jsonb_util.c

+2
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,10 @@ compareJsonbContainers(JsonbContainer *a, JsonbContainer *b)
247247
break;
248248
case jbvBinary:
249249
elog(ERROR, "unexpected jbvBinary value");
250+
break;
250251
case jbvDatetime:
251252
elog(ERROR, "unexpected jbvDatetime value");
253+
break;
252254
}
253255
}
254256
else

0 commit comments

Comments
 (0)