]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: cgroup: wrap BACKEND_CALL macro in a block
authorJán Tomko <jtomko@redhat.com>
Tue, 28 Jul 2020 18:08:07 +0000 (20:08 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 25 Aug 2020 17:03:12 +0000 (19:03 +0200)
commitc23c7dac9b1b8558fedb428b48a1af3ff4ce5799
treed5582fbad9b200f0670f295e19301a8fb98f1d4d
parent33e3c69320dcd255cb811d706a3de16a54dd5c1c
util: cgroup: wrap BACKEND_CALL macro in a block

VIR_CGROUP_BACKEND_CALL is exclusively used at the end
of a function, but it declares a variable.

Wrap it in a do..while block.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/util/vircgroupbackend.h