]> git.ipfire.org Git - thirdparty/libvirt.git/commit
events: Remove ATTRIBUTE_NONNULL for virObjectEventStateQueue[Remote]
authorJohn Ferlan <jferlan@redhat.com>
Fri, 15 Jun 2018 19:25:59 +0000 (15:25 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 18 Jun 2018 21:03:51 +0000 (17:03 -0400)
commit12f254576177b7ff07bb7d0a2f7910c5d2c7d86c
tree74e80db4968c9904dfb5504a30e861109a69d90f
parentedcd3ed4a45689e828a2177e8196a61acc16f6ed
events: Remove ATTRIBUTE_NONNULL for virObjectEventStateQueue[Remote]

Commit aad3a0b5f altered virObjectEventStateQueueRemote to move
the "if (!event) return" call added in the previous commit 031eb8f6
to virObjectEventStateQueue. Neither commit altered the function
prototype which used ATTRIBUTE_NONNULL(2).

This caused Coverity build problems. Since @event is now checked,
just remove the ATTRIBUTE_NONNULL check from both prototypes.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/object_event.h