pgsql: Remove null-pointer checks that are not needed.

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove null-pointer checks that are not needed.
Date: 2015-02-25 11:16:33
Message-ID: E1YQZxB-0008Pe-Eb@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove null-pointer checks that are not needed.

If a pointer is guaranteed to carry information there is no need to check
for NULL again. Patch by Michael Paquier.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8794bf1ca164e1be1554197b46c9ffc62d162fb8

Modified Files
--------------
src/interfaces/ecpg/ecpglib/data.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-02-25 17:01:40 pgsql: Fix dumping of views that are just VALUES(...) but have column a
Previous Message Fabien COELHO 2015-02-25 08:31:51 Re: pgsql: Support more commands in event triggers