Use "if (NULL != foo)"

The second is OK, but convert them as you find them, please.

On Thu, Jun 7, 2018 at 8:51 PM Hal Murray via devel <devel@ntpsec.org>
wrote:

>
> Should I write
>   if (NULL != foo) ...
> or is
>   if (foo) ...
> OK?
>
>
> --
> These are my opinions.  I hate spam.
>
>
>
> _______________________________________________
> devel mailing list
> devel@ntpsec.org
> http://lists.ntpsec.org/mailman/listinfo/devel
>
-- 

Mark Atwood
http://about.me/markatwood
+1-206-604-2198
_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to