aboutsummaryrefslogtreecommitdiff
path: root/src/delivery.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/delivery.c')
-rw-r--r--src/delivery.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/delivery.c b/src/delivery.c
index 278647c..014f2b5 100644
--- a/src/delivery.c
+++ b/src/delivery.c
@@ -1476,7 +1476,7 @@ void delivery_defer_packages(struct Delivery *ctx, int type) {
struct StrList *filtered = NULL;
filtered = strlist_init();
- for (size_t i = 0, z = 0; i < strlist_count(dataptr); i++) {
+ for (size_t i = 0; i < strlist_count(dataptr); i++) {
int ignore_pkg = 0;
name = strlist_item(dataptr, i);
@@ -1494,7 +1494,6 @@ void delivery_defer_packages(struct Delivery *ctx, int type) {
if (strstr(name, ctx->tests[x].name)) {
version = ctx->tests[x].version;
ignore_pkg = 1;
- z++;
break;
}
}