Thread (6 messages) flat view 6 messages, 3 authors, 2007-06-15

Re: [PATCH 0/4] [Net] Support accelerated network plugin modules

From: Keir Fraser <hidden>
Date: 2007-06-15 12:20:34
Also in: xen-devel



On 15/6/07 13:11, "Michael Buesch" [off-list ref] wrote:
quoted
No use of the following please:
If (foo) return 1; else return 0;
Is clearer as:
Return foo;
But it's not the same.
return !!foo;
would be the same. And yes, it does matter:
True in general, but not the cases I've seen in this patchset, where 'foo'
is a predicate.

 -- Keir
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help