Hi,

On Fri, Aug 11, 2017 at 11:11:21AM -0400, Selva Nair wrote:
> Constant 0 or (void *) 0 assigned to a pointer are the same as NULL
> pointer, so why bother?

Technically, it is (and NULL is quite often defined to be "(void *)0L"
or the like).

Personally, I like using NULL - and seeing NULL being used - when in
pointer context and "0" when in numeric context - it's more a visual
thing.

Since we use NULL about everywhere else in OpenVPN, I think this change
to get the few remaining places in line is a good thing.  Thus, ACK :)

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to