diff options
author | alberth <alberth@openttd.org> | 2010-07-24 10:14:39 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-07-24 10:14:39 +0000 |
commit | be6c0584240caf420b2475a0be036391e842e8af (patch) | |
tree | 6111751cf5526e1eb41176782d84766c4e9ed185 /src/fileio.cpp | |
parent | 645b6ce77345867fa96861843197481131566c46 (diff) | |
download | openttd-be6c0584240caf420b2475a0be036391e842e8af.tar.xz |
(svn r20211) -Codechange: Indented code should have curly braces around it.
Diffstat (limited to 'src/fileio.cpp')
-rw-r--r-- | src/fileio.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp index 788fc7cfe..46d28b848 100644 --- a/src/fileio.cpp +++ b/src/fileio.cpp @@ -164,10 +164,9 @@ static inline void FioCloseFile(int slot) void FioCloseAll() { - int i; - - for (i = 0; i != lengthof(_fio.handles); i++) + for (int i = 0; i != lengthof(_fio.handles); i++) { FioCloseFile(i); + } } #if defined(LIMITED_FDS) |