summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2017-08-13 18:38:42 +0000
committerfrosch <frosch@openttd.org>2017-08-13 18:38:42 +0000
commitb4b98e51655012ea42dbc8ab9e455fbec0d04b39 (patch)
tree948fc802d5dfdca71454f6ce479e4f429e98488d /src/settings.cpp
parent19bae485b028380fbdc94d02ebaecdf3ca23f932 (diff)
downloadopenttd-b4b98e51655012ea42dbc8ab9e455fbec0d04b39.tar.xz
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 9fba3a13f..d81945022 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -178,7 +178,8 @@ static int ParseIntList(const char *p, int *items, int maxitems)
/* Do not accept multiple commas between numbers */
if (!comma) return -1;
comma = false;
- /* FALL THROUGH */
+ FALLTHROUGH;
+
case ' ':
p++;
break;