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

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 :)

USENET is *not* the non-clickable part of WWW!
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

Reply via email to