From 5f9214e6606cc2b253234de3c5ee6151314467ac Mon Sep 17 00:00:00 2001 From: zamp Date: Mon, 22 Jun 2020 22:43:46 +0300 Subject: [PATCH] Fixed compiler warnings about unreachable code (#1188) --- Content.Client/Commands/DebugAiCommand.cs | 3 ++- Content.Client/Commands/DebugPathfindingCommand.cs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Content.Client/Commands/DebugAiCommand.cs b/Content.Client/Commands/DebugAiCommand.cs index 1d463e3072..f5c3088215 100644 --- a/Content.Client/Commands/DebugAiCommand.cs +++ b/Content.Client/Commands/DebugAiCommand.cs @@ -54,8 +54,9 @@ namespace Content.Client.Commands } return !anyAction; -#endif +#else return true; +#endif } } } diff --git a/Content.Client/Commands/DebugPathfindingCommand.cs b/Content.Client/Commands/DebugPathfindingCommand.cs index 8549ed1929..adc4760767 100644 --- a/Content.Client/Commands/DebugPathfindingCommand.cs +++ b/Content.Client/Commands/DebugPathfindingCommand.cs @@ -55,8 +55,9 @@ namespace Content.Client.Commands } return !anyAction; -#endif +#else return true; +#endif } } }