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:
@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user