in scope. but a 3rd similar situation in the same scope exists also,
which does not create a new variable, and uses the upper scope variable.
Pretty sloppy stuff.
ok millert
-/* $OpenBSD: run.c,v 1.75 2023/09/17 14:49:44 millert Exp $ */
+/* $OpenBSD: run.c,v 1.76 2023/09/18 15:16:22 deraadt Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
int i;
if (ljust) { // print one char from t, then pad blanks
- for (int i = 0; i < n; i++)
+ for (i = 0; i < n; i++)
*p++ = t[i];
for (i = 0; i < pad; i++) {
//printf(" ");
//printf(" ");
*p++ = ' ';
}
- for (int i = 0; i < n; i++)
+ for (i = 0; i < n; i++)
*p++ = t[i];
}
*p = 0;