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

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



On 08/19/2010 02:59 PM, Matthias Bolte wrote:
> 2010/8/19 Eric Blake <eblake redhat com>:
>> * 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.

Done for several instance in that file, and pushed.

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