lib/repo.c: fix dead assignment.

Found by clang-analyzer.

Bug Summary
File: lib/repo.c
Warning: line 162, column 3
Value stored to 'rv' is never read
This commit is contained in:
Juan RP 2019-06-18 18:01:17 +02:00
parent eddd2cd602
commit 00d552424d

View File

@ -159,7 +159,6 @@ repo_open_local(struct xbps_repo *repo, const char *repofile)
return false;
}
if ((repo->idx = repo_get_dict(repo)) == NULL) {
rv = archive_errno(repo->ar);
xbps_dbg_printf(repo->xhp, "[repo] `%s' failed to internalize "
" index on archive, removing file.\n", repofile);
/* broken archive, remove it */