]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vbox: Remove VBOX_OBJECT_CHECK macro
authorTaowei Luo <uaedante@gmail.com>
Fri, 24 Oct 2014 01:46:36 +0000 (09:46 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 29 Oct 2014 00:21:39 +0000 (01:21 +0100)
commita6b1cde3caa397cdc840b7b9ce9987fd30083a87
treef98d0ac3b450c5724d1425b050c6697dc39a5aba
parentc5cc26e65d859348d2ef998fc9caa739db52233c
vbox: Remove VBOX_OBJECT_CHECK macro

We should follow the rules that CHECK macro only do checking works.
But this VBOX_OBJECT_CHECK and VBOX_OBJECT_HOST_CHECK declared some
varibles at the same time, which broke the rule. So the patch
removed this macros and dispatched it in source code.

The storage driver is still not rewriten at this point. So, I
remains the VBOX_OBJECT_CHECK macro in vbox_tmpl.c. But this will
finally be removed in patch 'vbox: Remove unused things in vbox_tmpl.c'
src/vbox/vbox_common.c
src/vbox/vbox_tmpl.c