On Wed, Jan 22, 2025 at 05:14:31PM +0300, Alexander Kuznetsov wrote:
qemuSnapshotDeleteBlockJobFinishing() returns only 0 and 1. Convert
it
to bool and remove the dead code handling -1 return in the caller.
Found by Linux Verification Center (
linuxtesting.org) with Svace.
Reported-by: Reported-by: Andrey Slepykh <a.slepykh(a)fobos-nt.ru>
Unfortunately I noticed the double "Reported-by" only now.
Signed-off-by: Alexander Kuznetsov <kuznetsovam(a)altlinux.org>
Reviewed-by: Martin Kletzander <mkletzan(a)redhat.com>
and pushed.