summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-14 19:39:06 +0000
committertron <tron@openttd.org>2005-01-14 19:39:06 +0000
commit9d1f7e7348f77639c0fb8697e147de2e901f3545 (patch)
tree030680cf8d77d92baee8ee9b53c7c717840644c1
parent34db0656315f16852f18f796a3048761ef017d2e (diff)
downloadopenttd-9d1f7e7348f77639c0fb8697e147de2e901f3545.tar.xz
(svn r1507) Remove unreachable code
-rw-r--r--console.c1
-rw-r--r--water_cmd.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/console.c b/console.c
index f1ede12ec..b66cbdf9d 100644
--- a/console.c
+++ b/console.c
@@ -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)