summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-03-20 16:53:46 +0000
committeralberth <alberth@openttd.org>2010-03-20 16:53:46 +0000
commita9d4eb86b8dc6e7cf8b5897d180edf6f78072115 (patch)
tree9c16e311f2428fc82336df1ea9abed77bf868c16 /src
parent2dcca0ca768e6581410bf6d3d693e84dd28f9791 (diff)
downloadopenttd-a9d4eb86b8dc6e7cf8b5897d180edf6f78072115.tar.xz
(svn r19487) -Codechange: Removed non-reachable return statement.
Diffstat (limited to 'src')
-rw-r--r--src/tunnelbridge_cmd.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp
index b710b8312..f760d40a8 100644
--- a/src/tunnelbridge_cmd.cpp
+++ b/src/tunnelbridge_cmd.cpp
@@ -793,8 +793,6 @@ static CommandCost ClearTile_TunnelBridge(TileIndex tile, DoCommandFlag flags)
if (flags & DC_AUTO) return_cmd_error(STR_ERROR_MUST_DEMOLISH_BRIDGE_FIRST);
return DoClearBridge(tile, flags);
}
-
- return CMD_ERROR;
}
/**