Remove dead code.
Defect noticed by Coverity.
This commit is contained in:
parent
576a95b3a1
commit
9aa663463b
@ -3480,7 +3480,7 @@ jsonb_delete_idx(PG_FUNCTION_ARGS)
|
|||||||
if (idx >= n)
|
if (idx >= n)
|
||||||
PG_RETURN_JSONB(in);
|
PG_RETURN_JSONB(in);
|
||||||
|
|
||||||
pushJsonbValue(&state, r, r < WJB_BEGIN_ARRAY ? &v : NULL);
|
pushJsonbValue(&state, r, NULL);
|
||||||
|
|
||||||
while ((r = JsonbIteratorNext(&it, &v, true)) != 0)
|
while ((r = JsonbIteratorNext(&it, &v, true)) != 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user