]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't update timer if there's none.
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 6 Oct 2016 15:05:14 +0000 (17:05 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 10 Oct 2016 09:15:00 +0000 (11:15 +0200)
commit77d24de674d252a92fd44b8a131b2d101be37da8
treecaf976d0f1b4a898e317487ac5818f1f8d7606d7
parentcc38d5661ff11cbe749fa8932e74300f406a7780
Don't update timer if there's none.

Sometimes virObjectEventStateFlush can be called without timer (if the
last event was unregistered right when the timer fired).  There is a
check for timer == -1, but that triggers warning and other log messages,
which is unnecessary.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/conf/object_event.c