From 5595bf95f173d2e8ac59e5ee52557cea0cb50ca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Giedrius=20Statkevi=C4=8Dius?= Date: Sun, 25 Oct 2015 20:03:02 +0200 Subject: [PATCH] libxbps: remove unused variable `pkgdepname' --- lib/transaction_revdeps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/transaction_revdeps.c b/lib/transaction_revdeps.c index ff44d96f..ffe09688 100644 --- a/lib/transaction_revdeps.c +++ b/lib/transaction_revdeps.c @@ -52,10 +52,10 @@ check_virtual_pkgs(xbps_array_t mdeps, for (unsigned int i = 0; i < xbps_array_count(provides); i++) { xbps_array_t rundeps; const char *pkgver, *revpkgver, *pkgpattern; - char *pkgname, *pkgdepname, *vpkgname, *vpkgver, *str; + char *pkgname, *vpkgname, *vpkgver, *str; pkgver = revpkgver = pkgpattern = NULL; - pkgname = pkgdepname = vpkgname = vpkgver = str = NULL; + pkgname = vpkgname = vpkgver = str = NULL; xbps_dictionary_get_cstring_nocopy(trans_pkgd, "pkgver", &pkgver); xbps_dictionary_get_cstring_nocopy(rev_pkgd, "pkgver", &revpkgver);