Small cleanups in SQL/JSON code
authorAndrew Dunstan <[email protected]>
Fri, 15 Apr 2022 11:47:12 +0000 (07:47 -0400)
committerAndrew Dunstan <[email protected]>
Fri, 15 Apr 2022 11:49:20 +0000 (07:49 -0400)
commitf7a605f636d62935b80f9905575d40bc4eeca5ae
tree58f88216d9b7989be87bdf76280e737426021f12
parent5cd1c40b3ce9600f129fd1fea9850e1affaf31d5
Small cleanups in SQL/JSON code

These are to keep Coverity happy. In one case remove a redundant NULL
check, and in another explicitly ignore a function result that is already
known.
src/backend/parser/parse_expr.c
src/backend/utils/adt/jsonb.c