style question - testing pointers for NULL

Gary E. Miller gem at rellim.com
Fri Jun 8 20:06:19 UTC 2018


Yo Hal!

On Thu, 7 Jun 2018 23:06:52 -0700
Mark Atwood via devel <devel at ntpsec.org> wrote:

> Use "if (NULL != foo)"

+1

Help the compiler help you.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20180608/69c16139/attachment.bin>


More information about the devel mailing list