1
0
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:
Heikki Linnakangas 2014-03-27 08:53:44 +02:00
parent f3cfc23195
commit e709ced153

View File

@ -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;
}
/*