[libvirt PATCH] Remove unused variables

Pavel Hrdina phrdina at redhat.com
Mon Aug 3 11:56:53 UTC 2020


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 at 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 at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200803/fbeb5063/attachment-0001.sig>


More information about the libvir-list mailing list