summaryrefslogtreecommitdiffstats
path: root/builtin/for-each-repo.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/for-each-repo.c')
-rw-r--r--builtin/for-each-repo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/builtin/for-each-repo.c b/builtin/for-each-repo.c
index 7e36be9d8a..325a7925f1 100644
--- a/builtin/for-each-repo.c
+++ b/builtin/for-each-repo.c
@@ -1,5 +1,4 @@
#define USE_THE_REPOSITORY_VARIABLE
-#define DISABLE_SIGN_COMPARE_WARNINGS
#include "builtin.h"
#include "config.h"
@@ -38,7 +37,7 @@ int cmd_for_each_repo(int argc,
{
static const char *config_key = NULL;
int keep_going = 0;
- int i, result = 0;
+ int result = 0;
const struct string_list *values;
int err;
@@ -63,7 +62,7 @@ int cmd_for_each_repo(int argc,
else if (err)
return 0;
- for (i = 0; i < values->nr; i++) {
+ for (size_t i = 0; i < values->nr; i++) {
int ret = run_command_on_repo(values->items[i].string, argc, argv);
if (ret) {
if (!keep_going)