mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
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
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user