[libvirt] [PATCH 01/11] qemu: extract helper to get the current balloon

Eric Blake eblake at redhat.com
Wed Sep 3 23:06:42 UTC 2014


On 09/02/2014 03:01 PM, Eric Blake wrote:

>> +        if (!virDomainObjIsActive(vm))
>> +            err = 0;
>> +        else {
> 
> [2] If one leg of if-else has {}, both legs must have it.  This is
> documented in HACKING (and I really ought to add a syntax check that
> forbids obvious cases of unbalanced braces).

As penance for pointing it out, I've written the syntax check:
https://www.redhat.com/archives/libvir-list/2014-September/msg00164.html

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

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


More information about the libvir-list mailing list