summaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test.c b/src/test.c
index 69fc4d3..dec5bb0 100644
--- a/src/test.c
+++ b/src/test.c
@@ -101,7 +101,7 @@ static void print_dep_errors(char *label, struct apk_dependency_array *deps)
struct apk_dependency *dep = &deps->item[i];
struct apk_package *pkg = dep->name->state_ptr;
- if (pkg != NULL && apk_dep_is_satisfied(dep, pkg))
+ if (apk_dep_is_satisfied(dep, pkg))
continue;
if (print_label) {