aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper/test-dump-split-index.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-dump-split-index.c')
-rw-r--r--t/helper/test-dump-split-index.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/helper/test-dump-split-index.c b/t/helper/test-dump-split-index.c
index a6720faf9c..f855a3862c 100644
--- a/t/helper/test-dump-split-index.c
+++ b/t/helper/test-dump-split-index.c
@@ -16,7 +16,6 @@ static void show_bit(size_t pos, void *data UNUSED)
int cmd__dump_split_index(int ac UNUSED, const char **av)
{
struct split_index *si;
- int i;
setup_git_directory();
@@ -28,7 +27,7 @@ int cmd__dump_split_index(int ac UNUSED, const char **av)
return 0;
}
printf("base %s\n", oid_to_hex(&si->base_oid));
- for (i = 0; i < the_repository->index->cache_nr; i++) {
+ for (size_t i = 0; i < the_repository->index->cache_nr; i++) {
struct cache_entry *ce = the_repository->index->cache[i];
printf("%06o %s %d\t%s\n", ce->ce_mode,
oid_to_hex(&ce->oid), ce_stage(ce), ce->name);
ions'>+7 2009-09-15Staging: et131x: remove unused PCI identifiersAlan Cox3-63/+0 2009-09-15Staging: et131x: continue pruning unused fieldsAlan Cox3-24/+1 2009-09-15Staging: et131x: de-hungarianise a bitAlan Cox8-393/+377 2009-09-15Staging: et131x: fold the diet config into the other codeAlan Cox3-184/+86 2009-09-15Staging: et131x: config is already zeroedAlan Cox1-57/+18 2009-09-15Staging: et131x: attack the config stuffAlan Cox3-96/+23 2009-09-15Staging: et131x: clean up constant rx/tx registry fieldsAlan Cox6-43/+19 2009-09-15Staging: et131x: eliminate write only registry fieldsAlan Cox2-8/+0 2009-09-15Staging: et131x: Eliminate RegistryDMA CacheAlan Cox3-3/+1 2009-09-15Staging: et131x: CSRAddress to regsAlan Cox11-72/+72 2009-09-15Staging: et131x: Take a kref for the PCI pointer we cacheAlan Cox1-1/+3 2009-09-15Staging: et131x: kill copied PCI fieldsAlan Cox5-32/+8 2009-09-15Staging: et131x: MPSend macrosAlan Cox2-9/+4 2009-09-15Staging et131x: kill refcountAlan Cox3-13/+0 2009-09-15Staging: et131x: kill unused RCV_REF macrosAlan Cox1-2/+0 2009-09-15Staging: et131x: power stateAlan Cox4-16/+1 2009-09-15Staging: et131x: spinlocksAlan Cox6-69/+69 2009-09-15Staging: et1310: kill pAdapter in favour of a sane nameAlan Cox12-794/+794 2009-09-15Staging: pohmelfs: fix type errorsAlan Cox2-3/+2 2009-09-15Staging: pohmelfs: fix atomic type spewAlan Cox2-2/+2 2009-09-15Staging: altpciechdma: 64bit type warning fixAlan Cox1-1/+1 2009-09-15Staging: iio: fix duplicate dev_attr_nameRandy Dunlap3-4/+4 2009-09-15Staging: iio: Fix type warningsAlan Cox2-2/+2