summaryrefslogtreecommitdiff
path: root/src/solver.c
diff options
context:
space:
mode:
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) {