bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/4] ftpfs/host.c: use NULL (instead of 0) for pointers


From: Jonathan Neuschäfer
Subject: Re: [PATCH v2 1/4] ftpfs/host.c: use NULL (instead of 0) for pointers
Date: Sat, 20 Aug 2011 18:40:37 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Aug 20, 2011 at 09:29:00AM -0700, Thomas Bushnell, BSG wrote:
> I agree with Samuel. The use of NULL for pointers in C can lead people to
> forget that C does not protect the types in this case.

That's a valid argument and I didn't think of it this way. I just thought
NULL would be clearer in some way.

Thanks,
        Jonathan Neuschäfer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]