mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
Silence compiler warnings in new jsonb code.
Amit Kapila.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user