Commit e709ced1 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Silence compiler warnings in new jsonb code.

Amit Kapila.
parent f3cfc231
...@@ -799,6 +799,7 @@ JsonbIteratorNext(JsonbIterator ** it, JsonbValue * val, bool skipNested) ...@@ -799,6 +799,7 @@ JsonbIteratorNext(JsonbIterator ** it, JsonbValue * val, bool skipNested)
} }
elog(ERROR, "invalid iterator state"); elog(ERROR, "invalid iterator state");
return -1;
} }
/* /*
...@@ -1039,6 +1040,7 @@ JsonbDeepContains(JsonbIterator ** val, JsonbIterator ** mContained) ...@@ -1039,6 +1040,7 @@ JsonbDeepContains(JsonbIterator ** val, JsonbIterator ** mContained)
} }
elog(ERROR, "unexpectedly fell off end of jsonb container"); elog(ERROR, "unexpectedly fell off end of jsonb container");
return false;
} }
/* /*
...@@ -1172,6 +1174,7 @@ compareJsonbScalarValue(JsonbValue * aScalar, JsonbValue * bScalar) ...@@ -1172,6 +1174,7 @@ compareJsonbScalarValue(JsonbValue * aScalar, JsonbValue * bScalar)
} }
} }
elog(ERROR, "jsonb scalar type mismatch"); elog(ERROR, "jsonb scalar type mismatch");
return -1;
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment