1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Remove dead code.

Defect noticed by Coverity.
This commit is contained in:
Andrew Dunstan
2015-07-19 13:19:38 -04:00
parent fd735e976c
commit 0ed1e572b6

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)
{