Remove dead code.

Defect noticed by Coverity.
This commit is contained in:
Andrew Dunstan 2015-07-19 13:19:38 -04:00
parent 576a95b3a1
commit 9aa663463b
1 changed files with 1 additions and 1 deletions

View File

@ -3480,7 +3480,7 @@ jsonb_delete_idx(PG_FUNCTION_ARGS)
if (idx >= n)
PG_RETURN_JSONB(in);
pushJsonbValue(&state, r, r < WJB_BEGIN_ARRAY ? &v : NULL);
pushJsonbValue(&state, r, NULL);
while ((r = JsonbIteratorNext(&it, &v, true)) != 0)
{