pgsql: Small cleanups in SQL/JSON code

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Small cleanups in SQL/JSON code
Date: 2022-04-15 11:50:08
Message-ID: E1nfKSm-000ch3-C3@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f7a605f636d62935b80f9905575d40bc4eeca5ae

Modified Files
--------------
src/backend/parser/parse_expr.c | 2 +-
src/backend/utils/adt/jsonb.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Christoph Berg 2022-04-15 14:49:28 Re: pgsql: Add TAP test to automate the equivalent of check_guc
Previous Message Kyotaro Horiguchi 2022-04-15 01:20:46 Re: API stability [was: pgsql: Fix possible recovery trouble if TRUNCATE overlaps a checkpoint.]