|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 0/4] [Net] Support accelerated network plugin mod
On 15/6/07 13:11, "Michael Buesch" <mb@xxxxxxxxx> wrote:
>> 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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|