From 9d1f7e7348f77639c0fb8697e147de2e901f3545 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 14 Jan 2005 19:39:06 +0000 Subject: (svn r1507) Remove unreachable code --- console.c | 1 - water_cmd.c | 2 -- 2 files changed, 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) -- cgit v1.2.3-70-g09d2