summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-12-21 15:23:54 +0000
committeralberth <alberth@openttd.org>2010-12-21 15:23:54 +0000
commitb633ffaa1d58a8ad0f0e9aa34982877c8cf552a2 (patch)
tree134c9a17f2148602117ae73920f7987844082a7b /src/rail_gui.cpp
parent884b44990a7effe740e705a0183d28f38bfa2b9d (diff)
downloadopenttd-b633ffaa1d58a8ad0f0e9aa34982877c8cf552a2.tar.xz
(svn r21571) -Codechange: Having a break after a return is no good.
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r--src/rail_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp
index 82c2ce84d..3cedda98a 100644
--- a/src/rail_gui.cpp
+++ b/src/rail_gui.cpp
@@ -680,7 +680,7 @@ struct BuildRailToolbarWindow : Window {
/* If it is the removal button that has been clicked, do nothing,
* as it is up to the other buttons to drive removal status */
return;
- break;
+
case RTW_BUILD_NS:
case RTW_BUILD_X:
case RTW_BUILD_EW: