pgsql: Remove unnecessary NULL test.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove unnecessary NULL test.
Date: 2015-06-26 18:47:26
Message-ID: E1Z8Yes-0001kR-90@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unnecessary NULL test.

Spotted by Coverity and reported by Michael Paquier. Per discussion,
we don't necessarily care about making Coverity happy in all such
instances, but we can go ahead and change them where it otherwise
seems to improve the code.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8a8c581a8c99b9beecbdc517957da866f427f297

Modified Files
--------------
src/bin/pg_upgrade/controldata.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2015-06-26 18:55:54 pgsql: release notes: Add entry for commit 5ea86e6e6.
Previous Message Robert Haas 2015-06-26 18:21:38 pgsql: release notes: Combine items for pg_upgrade and pg_upgrade_suppo