qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/3] block/qcow2-bitmap: Remove unneeded variable assignment


From: Ján Tomko
Subject: Re: [PATCH 1/3] block/qcow2-bitmap: Remove unneeded variable assignment
Date: Sun, 16 Feb 2020 22:12:35 +0100

On Sat, Feb 15, 2020 at 05:15:55PM +0100, Philippe Mathieu-Daudé wrote:
Fix warning reported by Clang static code analyzer:

   CC      block/qcow2-bitmap.o
 block/qcow2-bitmap.c:650:5: warning: Value stored to 'ret' is never read
     ret = -EINVAL;
     ^     ~~~~~~~

Reported-by: Clang Static Analyzer
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
block/qcow2-bitmap.c | 1 -
1 file changed, 1 deletion(-)


Reviewed-by: Ján Tomko <address@hidden>

Unused since its introduction in 88ddffae8fc1e30cc907c2dbb989b7eba9e62319

Jano

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]