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

Eric Blake eblake at redhat.com
Tue Jan 18 17:54:51 UTC 2011


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

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


More information about the libvir-list mailing list