From 1bb2fa7862bb896f1cfefca5bb9f1d0b477f49a5 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Thu, 23 Feb 2012 22:05:33 +0200 Subject: solver: fix output of broken dependencies --- src/solver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3-70-g09d2