]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_domain: Drop ATTRIBUTE_NONNULL() for non-existent arguments
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 22 Mar 2023 10:07:50 +0000 (11:07 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 22 Mar 2023 14:53:33 +0000 (15:53 +0100)
commit94862a77be49c2e11f75700bfb38f7a6c1001c26
treed099c95d7ab29d1f2ed7239fe2540c5ef9747204
parent8c8cda2c9a94c63917e859ed83593dc4e28b0644
qemu_domain: Drop ATTRIBUTE_NONNULL() for non-existent arguments

After cleanup done in v8.2.0-rc1~47 the
qemuDomainObjExitMonitor() and after v8.7.0-rc1~176 the
qemuDomainObjEnterMonitor() lost the @driver argument. But
corresponding ATTRIBUTE_NONNULL() annotation was not removed and
both functions are still annotated as ATTRIBUTE_NONNULL(2) even
though they accept just one argument (@obj).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
src/qemu/qemu_domain.h