Use C99 initialisations for iterators
[exim.git] / src / src / lookups / lf_quote.c
index 8916fdc4d035ee4e0cfc549eed95994bf1b49bd9..6f4143d9f7d41bdc44dd58ccd18df40b6c9e818a 100644 (file)
@@ -45,9 +45,8 @@ character. */
 
 if (value[0] == 0 || Ustrpbrk(value, " \t\n\r") != NULL || value[0] == '\"')
   {
-  int j;
   result = string_catn(result, US"\"", 1);
-  for (j = 0; j < vlength; j++)
+  for (int j = 0; j < vlength; j++)
     {
     if (value[j] == '\"' || value[j] == '\\')
       result = string_catn(result, US"\\", 1);