[libvirt] [PATCH 04/10] maint: whitespace cleanups
Eric Blake
eblake at redhat.com
Thu Aug 19 22:26:40 UTC 2010
On 08/19/2010 02:59 PM, Matthias Bolte wrote:
> 2010/8/19 Eric Blake <eblake at 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 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/20100819/95a7d8c4/attachment-0001.sig>
More information about the libvir-list
mailing list