]> xenbits.xensource.com Git - libvirt.git/commit
qemuDomainObjWait: Annotate with G_GNUC_WARN_UNUSED_RESULT
authorPeter Krempa <pkrempa@redhat.com>
Fri, 20 Sep 2024 07:59:14 +0000 (09:59 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 9 Oct 2024 13:22:00 +0000 (15:22 +0200)
commit2e325804cc73557d033803a6feeba58b82c1313b
tree94aae7bbb582a4a220af7459244fd1bd609ef218
parent93d97d8fa20fd41dbdb831d7364bce8137f37a33
qemuDomainObjWait: Annotate with G_GNUC_WARN_UNUSED_RESULT

Callers must handle the return value of this function as the VM might
have died. Add compiler annotation to force it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_domain.h