lkml.org 
[lkml]   [2002]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] 2.5.9 remove warnings
On Tue, Apr 23, 2002 at 11:08:08PM +0200, Kasper Dupont wrote:
> Wouldn't "!!(x)" make more sense here than "(x) != 0"?
> (I don't like comparing pointers with integers.)

No, == 0 means, that the pointer is invalid, so != 0 means, the
pointer is valid. You can find this in the C99-Standard at least.

So, this is perfectly normal ;-)

Regards

Ingo Oeser
--
Science is what we can tell a computer. Art is everything else. --- D.E.Knuth
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.060 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site