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

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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