# HG changeset patch # User Matti Hamalainen # Date 1526084744 -10800 # Node ID 74febc66d90dbd23f29b5761499ad91c93932208 # Parent 260bf529a8f2b057b2744d8f7a97e18db2d84e30 Cleanup. diff -r 260bf529a8f2 -r 74febc66d90d tools/gfxconv.c --- a/tools/gfxconv.c Sat May 12 03:23:32 2018 +0300 +++ b/tools/gfxconv.c Sat May 12 03:25:44 2018 +0300 @@ -180,7 +180,6 @@ void argShowFormats() { - int i; printf( "Available input/output formats:\n" @@ -188,7 +187,7 @@ "------+---+---+-----------------------------------------------\n" ); - for (i = 0; i < nconvFormatList; i++) + for (int i = 0; i < nconvFormatList; i++) { DMConvFormat *fmt = &convFormatList[i]; printf("%-5s | %c | %c | %s\n", @@ -207,7 +206,7 @@ "------+-----------------+-------------------------------------\n" ); - for (i = 0; i < ndmC64ImageFormats; i++) + for (int i = 0; i < ndmC64ImageFormats; i++) { const DMC64ImageFormat *fmt = &dmC64ImageFormats[i]; char buf[64];