Re: [PATCH 04/10] maint: whitespace cleanups

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

 



2010/8/19 Eric Blake <eblake@xxxxxxxxxx>:
> * src/storage/storage_backend_disk.c
> (virStorageBackendDiskPartFormat): Fix spacing.
> ---
>
> Should be cosmetic only.
>
>  src/storage/storage_backend_disk.c |   66 +++++++++++++++++++-----------------
>  1 files changed, 35 insertions(+), 31 deletions(-)
>
> diff --git a/src/storage/storage_backend_disk.c b/src/storage/storage_backend_disk.c
> index 7188386..4038093 100644
> --- a/src/storage/storage_backend_disk.c
> +++ b/src/storage/storage_backend_disk.c
> @@ -385,20 +385,22 @@ virStorageBackendDiskPartFormat(virStoragePoolObjPtr pool,
>  {
>     int i;
>     if (pool->def->source.format == VIR_STORAGE_POOL_DISK_DOS) {
> -        const char *partedFormat = virStoragePartedFsTypeTypeToString(vol->target.format);
> +        const char *partedFormat;
> +        partedFormat = virStoragePartedFsTypeTypeToString(vol->target.format);
>         if(partedFormat == NULL) {

While touching this code add a space between if and (.

ACK.

Matthias

--
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]