summaryrefslogtreecommitdiff
path: root/src/fileio.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-07-24 10:14:39 +0000
committeralberth <alberth@openttd.org>2010-07-24 10:14:39 +0000
commitbe6c0584240caf420b2475a0be036391e842e8af (patch)
tree6111751cf5526e1eb41176782d84766c4e9ed185 /src/fileio.cpp
parent645b6ce77345867fa96861843197481131566c46 (diff)
downloadopenttd-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.cpp5
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)