diff options
Diffstat (limited to 'refs/debug.c')
-rw-r--r-- | refs/debug.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/refs/debug.c b/refs/debug.c index a893ae0c90..fbc4df08b4 100644 --- a/refs/debug.c +++ b/refs/debug.c @@ -83,9 +83,8 @@ static void print_update(int i, const char *refname, static void print_transaction(struct ref_transaction *transaction) { - int i; trace_printf_key(&trace_refs, "transaction {\n"); - for (i = 0; i < transaction->nr; i++) { + for (size_t i = 0; i < transaction->nr; i++) { struct ref_update *u = transaction->updates[i]; print_update(i, u->refname, &u->old_oid, &u->new_oid, u->flags, u->type, u->msg); |