Skip to content
Snippets Groups Projects
Commit e709ced1 authored by Heikki Linnakangas's avatar Heikki Linnakangas
Browse files

Silence compiler warnings in new jsonb code.

Amit Kapila.
parent f3cfc231
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment