mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +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;
|
||||
case jbvBinary:
|
||||
elog(ERROR, "unexpected jbvBinary value");
|
||||
break;
|
||||
case jbvDatetime:
|
||||
elog(ERROR, "unexpected jbvDatetime value");
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user