Skip to content

Commit

Permalink
redundant logic is redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
falconindy committed Mar 16, 2014
1 parent c67a550 commit 951f35b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions expac.c
Expand Up @@ -707,8 +707,8 @@ static alpm_list_t *resolve_pkg(alpm_list_t *targets) {
continue;
}

if (!(pkg = alpm_db_get_pkg(repo, pkgname)) &&
!(pkg = alpm_db_get_pkg(repo, pkgname))) {
pkg = alpm_db_get_pkg(repo, pkgname);
if (pkg == NULL) {
continue;
}

Expand Down

0 comments on commit 951f35b

Please sign in to comment.