Commit c967e13f authored by Andres Freund's avatar Andres Freund

Fix implicit-fallthrough compiler warning introduced in 6dda292d.

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
parent b9bffa00
...@@ -247,8 +247,10 @@ compareJsonbContainers(JsonbContainer *a, JsonbContainer *b) ...@@ -247,8 +247,10 @@ compareJsonbContainers(JsonbContainer *a, JsonbContainer *b)
break; break;
case jbvBinary: case jbvBinary:
elog(ERROR, "unexpected jbvBinary value"); elog(ERROR, "unexpected jbvBinary value");
break;
case jbvDatetime: case jbvDatetime:
elog(ERROR, "unexpected jbvDatetime value"); elog(ERROR, "unexpected jbvDatetime value");
break;
} }
} }
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment