diff options
author | tron <tron@openttd.org> | 2005-01-14 19:39:06 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-14 19:39:06 +0000 |
commit | 9d1f7e7348f77639c0fb8697e147de2e901f3545 (patch) | |
tree | 030680cf8d77d92baee8ee9b53c7c717840644c1 | |
parent | 34db0656315f16852f18f796a3048761ef017d2e (diff) | |
download | openttd-9d1f7e7348f77639c0fb8697e147de2e901f3545.tar.xz |
(svn r1507) Remove unreachable code
-rw-r--r-- | console.c | 1 | ||||
-rw-r--r-- | water_cmd.c | 2 |
2 files changed, 0 insertions, 3 deletions
@@ -913,7 +913,6 @@ void IConsoleVarDump(const _iconsole_var* var, const char* dump_desc) IConsolePrintF(_iconsole_color_default, "%s = %s", dump_desc, *var->data.bool_ ? "true" : "false"); break; - break; case ICONSOLE_VAR_BYTE: case ICONSOLE_VAR_UINT8: IConsolePrintF(_iconsole_color_default, "%s = %u", diff --git a/water_cmd.c b/water_cmd.c index f29a06391..dea1a8522 100644 --- a/water_cmd.c +++ b/water_cmd.c @@ -182,8 +182,6 @@ int32 CmdBuildLock(int x, int y, uint32 flags, uint32 p1, uint32 p2) } else return_cmd_error(STR_1000_LAND_SLOPED_IN_WRONG_DIRECTION); - - return 0; } int32 CmdBuildCanal(int x, int y, uint32 flags, uint32 p1, uint32 p2) |