Re: [PATCHv2] maint: balance {} usage

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

 



On 03/24/2014 12:54 PM, Peter Krempa wrote:
> On 03/24/14 19:50, Eric Blake wrote:
>> Emacs gets lost when finding function boundaries when #ifdef
>> sections do not have balanced {}.
>>
>> * libvirt-override.c (libvirt_PyString_Check): New define.
>> (virPyDictToTypedParams): Avoid unbalanced {} across ifdef.
>>
>> Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
>> ---
>>
>> v2: Hoisting #ifdefs outside of function bodies makes it nicer
>>
>>  libvirt-override.c | 14 ++++++++------
>>  1 file changed, 8 insertions(+), 6 deletions(-)
>>
> 
> much nicer, ACK.

Pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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