(svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script

This commit is contained in:
smatz
2008-03-15 13:21:31 +00:00
parent 5db7288ea9
commit bfae49aeb2
7 changed files with 15 additions and 21 deletions

View File

@@ -4644,7 +4644,7 @@ static void DefineGotoLabel(byte *buf, int len)
} else {
/* Attach the label to the end of the list */
GRFLabel *l;
for (l = _cur_grffile->label; l->next != NULL; l = l->next);
for (l = _cur_grffile->label; l->next != NULL; l = l->next) {}
l->next = label;
}