[PATCH] qemu_domain: Drop ATTRIBUTE_NONNULL() for non-existent arguments
Kristina Hanicova
khanicov at redhat.com
Wed Mar 22 14:13:31 UTC 2023
On Wed, Mar 22, 2023 at 2:59 PM Michal Privoznik <mprivozn at redhat.com>
wrote:
> 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 at redhat.com>
> ---
> src/qemu/qemu_domain.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Kristina Hanicova <khanicov at redhat.com>
Kristina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230322/8c3f0d9e/attachment.htm>
More information about the libvir-list
mailing list