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

Lines changed: 2 additions & 0 deletions
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)
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