qemu-devel
[Top][All Lists]
Advanced

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

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


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 1/3] tools/virtiofsd/passthrough_ll: Remove unneeded variable assignment
Date: Mon, 17 Feb 2020 15:12:35 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 2/17/20 12:37 PM, Dr. David Alan Gilbert wrote:
* Philippe Mathieu-Daudé (address@hidden) 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
Reviewed-by: Ján Tomko <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>

Thanks, you might want to snd that to the upstream libfuse
(different context); it looks like it's the same there.

Done: https://github.com/libfuse/libfuse/pull/501


Reviewed-by: Dr. David Alan Gilbert <address@hidden>

Thanks!




reply via email to

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