Re: [PATCH 3/3] Remove redundant brackets around return values

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

 



On 01/18/2011 10:31 AM, Daniel P. Berrange wrote:
> A large number of return values used 'return (0)' instead
> of simply 'return 0'. Remove all these redundant brackets
> so the style is consistent throughout the file
> 
> * src/libvirt.c: Remove redundant brackets
> ---
>  src/libvirt.c |  472 ++++++++++++++++++++++++++++----------------------------
>  1 files changed, 236 insertions(+), 236 deletions(-)
> 
> diff --git a/src/libvirt.c b/src/libvirt.c
> index f09e229..a79e1a0 100644
> --- a/src/libvirt.c
> +++ b/src/libvirt.c
> @@ -344,7 +344,7 @@ int
>  virInitialize(void)
>  {
>      if (initialized)
> -        return(0);
> +        return 0;

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]