summaryrefslogtreecommitdiff
path: root/src/solver.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-02-23 22:05:33 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-02-23 22:05:33 +0200
commit1bb2fa7862bb896f1cfefca5bb9f1d0b477f49a5 (patch)
tree03f7223066c4fa286e669af30634fb83e2c7bf2e /src/solver.c
parent64e5a64442194a73e75ef11039f7d1e18d60c15e (diff)
downloadapk-tools-1bb2fa7862bb896f1cfefca5bb9f1d0b477f49a5.tar.gz
apk-tools-1bb2fa7862bb896f1cfefca5bb9f1d0b477f49a5.tar.bz2
apk-tools-1bb2fa7862bb896f1cfefca5bb9f1d0b477f49a5.tar.xz
apk-tools-1bb2fa7862bb896f1cfefca5bb9f1d0b477f49a5.zip
solver: fix output of broken dependencies
Diffstat (limited to 'src/solver.c')
-rw-r--r--src/solver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/solver.c b/src/solver.c
index a81ed80..39f9683 100644
--- a/src/solver.c
+++ b/src/solver.c
@@ -1877,7 +1877,7 @@ static void print_dep_errors(struct apk_database *db, char *label, struct apk_de
struct apk_dependency *dep = &deps->item[i];
struct apk_package *pkg = (struct apk_package*) dep->name->state_ptr;
- if (pkg != NULL && apk_dep_is_satisfied(dep, pkg))
+ if (apk_dep_is_satisfied(dep, pkg))
continue;
if (print_label) {