[tidy] move loop variable declaration to loop

This commit is contained in:
akallabeth
2024-01-30 10:25:38 +01:00
committed by akallabeth
parent 62f974a5c2
commit d7ebec5a65
345 changed files with 1568 additions and 2828 deletions

View File

@@ -31,7 +31,6 @@
int main(int argc, char** argv)
{
GC gc = NULL;
int index = 0;
int depth = 0;
int x = 0;
int y = 0;
@@ -86,7 +85,7 @@ int main(int argc, char** argv)
pfs = XListPixmapFormats(display, &pf_count);
for (index = 0; index < pf_count; index++)
for (int index = 0; index < pf_count; index++)
{
pf = &pfs[index];