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

From Michael Meskes
Subject pgsql: Remove null-pointer checks that are not needed.
Date
Msg-id E1YQZxB-0008Pe-Eb@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: pgsql: Support more commands in event triggers
Next
From: Tom Lane
Date:
Subject: pgsql: Fix dumping of views that are just VALUES(...) but have column a