qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 1/3] tools/virtiofsd/passthrough_ll: Remove unneeded variable


From: Ján Tomko
Subject: Re: [PATCH 1/3] tools/virtiofsd/passthrough_ll: Remove unneeded variable assignment
Date: Sun, 16 Feb 2020 22:19:24 +0100

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

   CC      tools/virtiofsd/passthrough_ll.o
 tools/virtiofsd/passthrough_ll.c:1083:5: warning: Value stored to 'saverr' is 
never read
     saverr = ENOMEM;
     ^        ~~~~~~

Fixes: 7c6b66027
Reported-by: Clang Static Analyzer
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
tools/virtiofsd/passthrough_ll.c | 2 --
1 file changed, 2 deletions(-)


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

Jano

Attachment: signature.asc
Description: PGP signature


reply via email to

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