Use C99 initialisations for iterators
[exim.git] / src / src / rfc2047.c
index 8d77634c66146f615e9698d953292ca510e1d87b..5d527d44bc2412e77e6e05d13f17cca29d0fb38c 100644 (file)
@@ -300,11 +300,8 @@ while (mimeword)
     /* Deal with zero values; convert them if requested. */
 
     if (zeroval != 0)
-      {
-      int i;
-      for (i = 0; i < tlen; i++)
+      for (int i = 0; i < tlen; i++)
         if (tptr[i] == 0) tptr[i] = zeroval;
-      }
 
     /* Add the new string onto the result */