summaryrefslogtreecommitdiffstats
path: root/t/helper/test-reach.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-reach.c')
-rw-r--r--t/helper/test-reach.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/t/helper/test-reach.c b/t/helper/test-reach.c
index 25c232464d..01cf77ae65 100644
--- a/t/helper/test-reach.c
+++ b/t/helper/test-reach.c
@@ -1,5 +1,4 @@
#define USE_THE_REPOSITORY_VARIABLE
-#define DISABLE_SIGN_COMPARE_WARNINGS
#include "test-tool.h"
#include "commit.h"
@@ -14,7 +13,6 @@
static void print_sorted_commit_ids(struct commit_list *list)
{
- int i;
struct string_list s = STRING_LIST_INIT_DUP;
while (list) {
@@ -24,7 +22,7 @@ static void print_sorted_commit_ids(struct commit_list *list)
string_list_sort(&s);
- for (i = 0; i < s.nr; i++)
+ for (size_t i = 0; i < s.nr; i++)
printf("%s\n", s.items[i].string);
string_list_clear(&s, 0);