]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
maint: add syntax check to prohibit static zero init
authorEric Blake <eblake@redhat.com>
Tue, 28 Oct 2014 18:22:03 +0000 (12:22 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 29 Oct 2014 15:55:09 +0000 (09:55 -0600)
commit85f2d0dd5552f2d058e635b41dd4a03362a3f72e
tree8ac1801eaf5af65813f80a3e570f7c26690515c0
parentec81cf8942dcf284adf6d0dc65d8592aab1116de
maint: add syntax check to prohibit static zero init

Now that all offenders have been cleaned, turn on a syntax-check
rule to prevent future offenders.

* cfg.mk (sc_prohibit_static_zero_init): New rule.
* src/qemu/qemu_driver.c (qemuDomainBlockJobImpl): Avoid false
positive.

Signed-off-by: Eric Blake <eblake@redhat.com>
cfg.mk
src/qemu/qemu_driver.c