Replace pointer comparisons and assignments to literal zero with NULL

While 0 is technically correct, NULL is the semantically appropriate
choice for pointers.

Author: Bertrand Drouvot <[email protected]>
Discussion: 
https://www.postgresql.org/message-id/aS1AYnZmuRZ8g%2B5G%40ip-10-97-1-34.eu-west-3.compute.internal

Branch
------
master

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

Modified Files
--------------
src/backend/nodes/copyfuncs.c         | 2 +-
src/backend/postmaster/postmaster.c   | 2 +-
src/backend/utils/adt/pg_locale.c     | 4 ++--
src/backend/utils/adt/timestamp.c     | 2 +-
src/interfaces/ecpg/ecpglib/prepare.c | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)

Reply via email to