summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-01-21 08:04:14 +0000
committertron <tron@openttd.org>2007-01-21 08:04:14 +0000
commit501cd51c15c3d775a06e42f66e38f6f571c2359c (patch)
tree5c3bb00f3bfef6ee87eb3a5467859f48e0eeba42 /src
parent59e6e762b81753538e2b5e69d6fe5f5c91037849 (diff)
downloadopenttd-501cd51c15c3d775a06e42f66e38f6f571c2359c.tar.xz
(svn r8299) -Fix
Remove unreachable code
Diffstat (limited to 'src')
-rw-r--r--src/water_cmd.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp
index c7c90d019..42fa1b9fc 100644
--- a/src/water_cmd.cpp
+++ b/src/water_cmd.cpp
@@ -332,8 +332,6 @@ static int32 ClearTile_Water(TileIndex tile, byte flags)
NOT_REACHED();
return 0;
}
-
- return 0; // useless but silences warning
}
// return true if a tile is a water tile.