Skip to content

Commit 9aa6634

Browse files
committed
Remove dead code.
Defect noticed by Coverity.
1 parent 576a95b commit 9aa6634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/jsonfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3480,7 +3480,7 @@ jsonb_delete_idx(PG_FUNCTION_ARGS)
34803480
if (idx >= n)
34813481
PG_RETURN_JSONB(in);
34823482

3483-
pushJsonbValue(&state, r, r < WJB_BEGIN_ARRAY ? &v : NULL);
3483+
pushJsonbValue(&state, r, NULL);
34843484

34853485
while ((r = JsonbIteratorNext(&it, &v, true)) != 0)
34863486
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy