Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0ed1e57

Browse files
committed
Remove dead code.
Defect noticed by Coverity.
1 parent fd735e9 commit 0ed1e57

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)