mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 00:56:21 +00:00
Declare counter var inside loop
We require c99/gnu99 anyways.
This commit is contained in:
@@ -1222,8 +1222,7 @@ void
|
||||
ui_show_lines(ProfWin* window, gchar** lines)
|
||||
{
|
||||
if (lines) {
|
||||
int i;
|
||||
for (i = 0; lines[i] != NULL; i++) {
|
||||
for (int i = 0; lines[i] != NULL; i++) {
|
||||
win_println(window, THEME_DEFAULT, "-", "%s", lines[i]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user