
3 Sep
2014
3 Sep
'14
11:06 p.m.
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