summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)