Fix implicit-fallthrough compiler warning introduced in 6dda292d4d.

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
pull/47/head
Andres Freund 6 years ago
parent b9bffa004a
commit c967e13f40
  1. 2
      src/backend/utils/adt/jsonb_util.c

@ -247,8 +247,10 @@ compareJsonbContainers(JsonbContainer *a, JsonbContainer *b)
break;
case jbvBinary:
elog(ERROR, "unexpected jbvBinary value");
break;
case jbvDatetime:
elog(ERROR, "unexpected jbvDatetime value");
break;
}
}
else

Loading…
Cancel
Save