Fix implicit-fallthrough compiler warning introduced in 6dda292d4df82.
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
This commit is contained in:
parent
b9bffa004a
commit
c967e13f40
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user