xbps-repo: remove unused pkgname var for previous commit.
This commit is contained in:
parent
cdf4640246
commit
b62f1f0396
@ -48,7 +48,7 @@ remove_missing_binpkg_entries(const char *repodir)
|
|||||||
{
|
{
|
||||||
prop_array_t pkgarray;
|
prop_array_t pkgarray;
|
||||||
prop_dictionary_t idxd, pkgd;
|
prop_dictionary_t idxd, pkgd;
|
||||||
const char *pkgname, *arch, *filen;
|
const char *arch, *filen;
|
||||||
char *binpkg, *plist;
|
char *binpkg, *plist;
|
||||||
size_t i;
|
size_t i;
|
||||||
int rv = 0;
|
int rv = 0;
|
||||||
@ -77,7 +77,6 @@ again:
|
|||||||
|
|
||||||
for (i = 0; i < prop_array_count(pkgarray); i++) {
|
for (i = 0; i < prop_array_count(pkgarray); i++) {
|
||||||
pkgd = prop_array_get(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, "architecture", &arch);
|
||||||
prop_dictionary_get_cstring_nocopy(pkgd, "filename", &filen);
|
prop_dictionary_get_cstring_nocopy(pkgd, "filename", &filen);
|
||||||
binpkg = xbps_xasprintf("%s/%s/%s", repodir, arch, filen);
|
binpkg = xbps_xasprintf("%s/%s/%s", repodir, arch, filen);
|
||||||
|
Loading…
Reference in New Issue
Block a user