Content-Length: 259477 | pFad | http://github.com/postgrespro/postgres/commit/9aa663463bbf123e9d38dab88eeaef981fbc6caf

19 Remove dead code. · postgrespro/postgres@9aa6634 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/9aa663463bbf123e9d38dab88eeaef981fbc6caf

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy