Small cleanups in SQL/JSON code

Andrew Dunstan <andrew@dunslane.net>

Commit: f7a605f636d62935b80f9905575d40bc4eeca5ae
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2022-04-15T11:49:20Z
Releases: 15.0
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.

Files

PathChange+/−
src/backend/parser/parse_expr.c modified +1 −1
src/backend/utils/adt/jsonb.c modified +1 −1