summaryrefslogtreecommitdiff
path: root/src/depend
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-07-29 14:26:28 +0000
committerterkhen <terkhen@openttd.org>2010-07-29 14:26:28 +0000
commit88ca183191d781effd96add853e40d37ce3a0233 (patch)
tree9820f95a2ea7ef95bf8c05fbd3c12ecccceb42f8 /src/depend
parent04242e19cf29aedca783f4657e2c448d40f37420 (diff)
downloadopenttd-88ca183191d781effd96add853e40d37ce3a0233.tar.xz
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
Diffstat (limited to 'src/depend')
-rw-r--r--src/depend/depend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/depend/depend.cpp b/src/depend/depend.cpp
index 7da5fecbb..ba868464b 100644
--- a/src/depend/depend.cpp
+++ b/src/depend/depend.cpp
@@ -674,7 +674,7 @@ void ScanFile(const char *filename, const char *ext, bool header, bool verbose)
free((void*)h);
}
}
- /* Fall through */
+ /* FALL THROUGH */
default: break;
}
break;
@@ -796,7 +796,7 @@ void ScanFile(const char *filename, const char *ext, bool header, bool verbose)
break;
}
if (verbose) fprintf(stderr, "\n");
- /* Fall through */
+ /* FALL THROUGH */
default:
/* Ignore the rest of the garbage on this line */
while (lexer.GetToken() != TOKEN_EOL && lexer.GetToken() != TOKEN_END) lexer.Lex();