index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/deps.c | 3 |
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index c3681b34..aef66d2d 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -373,8 +373,7 @@ int _alpm_depcmp(alpm_pkg_t *pkg, alpm_depend_t *dep) int satisfy = 0; /* check (pkg->name, pkg->version) */ - if(pkg->name_hash && dep->name_hash - && pkg->name_hash != dep->name_hash) { + if(pkg->name_hash != dep->name_hash) { /* skip more expensive checks */ } else { satisfy = (strcmp(pkg->name, dep->name) == 0 |