forked from mirror/OpenTTD
(svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user