summaryrefslogtreecommitdiff
path: root/src/depot_gui.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/depot_gui.cpp
parent19bae485b028380fbdc94d02ebaecdf3ca23f932 (diff)
downloadopenttd-b4b98e51655012ea42dbc8ab9e455fbec0d04b39.tar.xz
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r--src/depot_gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index 47eefc65e..a99f2e4dd 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -445,7 +445,8 @@ struct DepotWindow : Window {
switch (this->type) {
case VEH_TRAIN:
if (wagon) return MODE_ERROR;
- /* FALL THROUGH */
+ FALLTHROUGH;
+
case VEH_ROAD:
if (xm <= this->flag_width) return MODE_START_STOP;
break;