Fix comparisons of pointers with zero to compare with NULL instead.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: bfd3f37be309c3647844aed937e6a66aad5fd3cb
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-10-29T19:51:52Z
Releases: 9.1.0
Fix comparisons of pointers with zero to compare with NULL instead.

Per C standard, these are semantically the same thing; but saying NULL
when you mean NULL is good for readability.

Marti Raudsepp, per results of INRIA's Coccinelle.

Files

PathChange+/−
src/backend/regex/regc_lex.c modified +1 −1
src/backend/utils/adt/tsrank.c modified +1 −1
src/backend/utils/fmgr/dfmgr.c modified +1 −1
src/bin/pg_dump/pg_backup_tar.c modified +1 −1
src/port/dirmod.c modified +1 −1
src/timezone/zic.c modified +6 −6