summaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/index.c b/src/index.c
index eeaa337..45b7cf1 100644
--- a/src/index.c
+++ b/src/index.c
@@ -26,12 +26,13 @@ static int warn_if_no_providers(apk_hash_item item, void *ctx)
struct apk_name *name = (struct apk_name *) item;
if (name->pkgs == NULL) {
- if (++counts->unsatisfied < 10)
+ if (++counts->unsatisfied < 10) {
apk_warning("No provider for dependency '%s'",
name->name);
- else if (counts->unsatisfied == 10)
+ } else if (counts->unsatisfied == 10) {
apk_warning("Too many unsatisfiable dependencies, "
"not reporting the rest.");
+ }
}
counts->total++;