diff options
author | alberth <alberth@openttd.org> | 2010-03-20 16:53:46 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-03-20 16:53:46 +0000 |
commit | a9d4eb86b8dc6e7cf8b5897d180edf6f78072115 (patch) | |
tree | 9c16e311f2428fc82336df1ea9abed77bf868c16 | |
parent | 2dcca0ca768e6581410bf6d3d693e84dd28f9791 (diff) | |
download | openttd-a9d4eb86b8dc6e7cf8b5897d180edf6f78072115.tar.xz |
(svn r19487) -Codechange: Removed non-reachable return statement.
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 2 |
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; } /** |