[libvirt] [PATCH 2/6] Remove pointless brackets around boolean

Eric Blake eblake at redhat.com
Tue Mar 18 15:10:23 UTC 2014


On 03/18/2014 07:36 AM, Daniel P. Berrange wrote:
> A lot of methods have a 'bool incoming' parameter but then
> do  (incoming) ? ... : .... The round brackets here add nothing
> to the code so can be removed.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/nwfilter/nwfilter_ebiptables_driver.c | 92 +++++++++++++++----------------
>  1 file changed, 46 insertions(+), 46 deletions(-)
> 

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140318/85198fa7/attachment-0001.sig>


More information about the libvir-list mailing list