diff options
author | smatz <smatz@openttd.org> | 2008-03-15 13:21:31 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-03-15 13:21:31 +0000 |
commit | bfae49aeb2affaf239f7e9b04b6b7e226830e962 (patch) | |
tree | 430a2db18c790d538b3473d93a0c95f2afbdde7d /src/newgrf.cpp | |
parent | 5db7288ea961e1418d0983d8ef4c08c32d2fc879 (diff) | |
download | openttd-bfae49aeb2affaf239f7e9b04b6b7e226830e962.tar.xz |
(svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r-- | src/newgrf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 476747f95..37c1629e9 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -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; } |