Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9aa6634

Browse files
committed
Remove dead code.
Defect noticed by Coverity.
1 parent576a95b commit9aa6634

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)

[8]ページ先頭

©2009-2025 Movatter.jp