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@xxxxxxxxxxx>
Unfortunately I noticed the double "Reported-by" only now.
Signed-off-by: Alexander Kuznetsov <kuznetsovam@xxxxxxxxxxxx>
Reviewed-by: Martin Kletzander <mkletzan@xxxxxxxxxx> and pushed.
Attachment:
signature.asc
Description: PGP signature