mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Silence compiler warnings in new jsonb code.
Amit Kapila.
This commit is contained in:
parent
f3cfc23195
commit
e709ced153
@ -799,6 +799,7 @@ JsonbIteratorNext(JsonbIterator ** it, JsonbValue * val, bool skipNested)
|
||||
}
|
||||
|
||||
elog(ERROR, "invalid iterator state");
|
||||
return -1;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -1039,6 +1040,7 @@ JsonbDeepContains(JsonbIterator ** val, JsonbIterator ** mContained)
|
||||
}
|
||||
|
||||
elog(ERROR, "unexpectedly fell off end of jsonb container");
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -1172,6 +1174,7 @@ compareJsonbScalarValue(JsonbValue * aScalar, JsonbValue * bScalar)
|
||||
}
|
||||
}
|
||||
elog(ERROR, "jsonb scalar type mismatch");
|
||||
return -1;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user