changeset 1532:74febc66d90d

Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 12 May 2018 03:25:44 +0300
parents 260bf529a8f2
children 907160399b24
files tools/gfxconv.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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];