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

Re: [libvirt PATCH] Remove unused variables



On Mon, Aug 03, 2020 at 01:42:00PM +0200, Ján Tomko wrote:
> These variables are only used for assignment and have
> no other effect.
> 
> Signed-off-by: Ján Tomko <jtomko redhat com>
> ---
> Found by clang-analyzer. Just install the package with scan-build and
> run:
>   ninja -C build scan-build
> 
> (or some meson --reconfigure might be necessary.
>  OTOH, I did not get ninja coverage to work so far.)
> 
>  src/conf/domain_conf.c  | 4 +---
>  src/util/virdevmapper.c | 3 +--
>  2 files changed, 2 insertions(+), 5 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina redhat com>

Attachment: signature.asc
Description: PGP signature


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