* lib/nstrftime.c (libc_hidden_def): Rename inner "i" to "j",
to avoid shadowing an "i" declared hundreds of lines above.
+2019-12-19 Jim Meyering <meyering@fb.com>
+
+ nstrftime: avoid a shadowing warning
+ * lib/nstrftime.c (libc_hidden_def): Rename inner "i" to "j",
+ to avoid shadowing an "i" declared hundreds of lines above.
+
2019-12-19 Paul Eggert <eggert@cs.ucla.edu>
dfa: struct dfamust now uses flexible array
int ndigs = ns_digits;
while (width < ndigs || (1 < ndigs && n % 10 == 0))
ndigs--, n /= 10;
- for (int i = ndigs; 0 < i; i--)
- buf[i - 1] = n % 10 + L_('0'), n /= 10;
+ for (int j = ndigs; 0 < j; j--)
+ buf[j - 1] = n % 10 + L_('0'), n /= 10;
if (!pad)
pad = L_('0');
width_cpy (0, ndigs, buf);