From b62f1f03968b39f7b5a36da08cc82f1cc5a3cf21 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 9 Jul 2011 13:33:48 +0200 Subject: [PATCH] xbps-repo: remove unused pkgname var for previous commit. --- bin/xbps-repo/index.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/xbps-repo/index.c b/bin/xbps-repo/index.c index 21856608..0379a7ad 100644 --- a/bin/xbps-repo/index.c +++ b/bin/xbps-repo/index.c @@ -48,7 +48,7 @@ remove_missing_binpkg_entries(const char *repodir) { prop_array_t pkgarray; prop_dictionary_t idxd, pkgd; - const char *pkgname, *arch, *filen; + const char *arch, *filen; char *binpkg, *plist; size_t i; int rv = 0; @@ -77,7 +77,6 @@ again: for (i = 0; i < prop_array_count(pkgarray); i++) { pkgd = prop_array_get(pkgarray, i); - prop_dictionary_get_cstring_nocopy(pkgd, "pkgname", &pkgname); prop_dictionary_get_cstring_nocopy(pkgd, "architecture", &arch); prop_dictionary_get_cstring_nocopy(pkgd, "filename", &filen); binpkg = xbps_xasprintf("%s/%s/%s", repodir, arch, filen);