mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 01:18:00 +03:00
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>
This commit is contained in:
parent
93d97d8fa2
commit
2e325804cc
@ -1132,7 +1132,8 @@ qemuDomainRemoveLogs(virQEMUDriver *driver,
|
||||
const char *name);
|
||||
|
||||
int
|
||||
qemuDomainObjWait(virDomainObj *vm);
|
||||
qemuDomainObjWait(virDomainObj *vm)
|
||||
G_GNUC_WARN_UNUSED_RESULT;
|
||||
bool
|
||||
qemuDomainObjIsActive(virDomainObj *vm);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user