qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/2] fix GCC 5.0.0 logical-not-parentheses warni


From: Radim Krčmář
Subject: Re: [Qemu-devel] [PATCH 1/2] fix GCC 5.0.0 logical-not-parentheses warnings
Date: Fri, 20 Feb 2015 16:43:06 +0100

2015-02-20 15:38+0100, Paolo Bonzini:
> On 20/02/2015 15:18, Radim Krčmář wrote:
> > -    if (!!n->vhost_started ==
> > +    if ((!!n->vhost_started) ==
> >          (virtio_net_started(n, status) && !nc->peer->link_down)) {
> 
> Does it still break if you just swap the terms?

No (there is no logical not on left side then), will do that.



reply via email to

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