From 84bec3e19c59a7a065ae23d852e08c3bf6bcc5f3 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Fri, 10 Feb 2017 11:16:30 +0100 Subject: [PATCH] Fixed warnings --- src/NadekoBot/DataStructures/CREmbed.cs | 2 +- src/NadekoBot/Modules/Games/Commands/TicTacToe.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/NadekoBot/DataStructures/CREmbed.cs b/src/NadekoBot/DataStructures/CREmbed.cs index 88e81630..cb67503b 100644 --- a/src/NadekoBot/DataStructures/CREmbed.cs +++ b/src/NadekoBot/DataStructures/CREmbed.cs @@ -70,7 +70,7 @@ namespace NadekoBot.DataStructures embed = crembed; return true; } - catch (Exception ex) + catch { return false; } diff --git a/src/NadekoBot/Modules/Games/Commands/TicTacToe.cs b/src/NadekoBot/Modules/Games/Commands/TicTacToe.cs index ef20bfb0..1a254e28 100644 --- a/src/NadekoBot/Modules/Games/Commands/TicTacToe.cs +++ b/src/NadekoBot/Modules/Games/Commands/TicTacToe.cs @@ -79,7 +79,6 @@ namespace NadekoBot.Modules.Games private readonly IGuildUser[] _users; private readonly int?[,] _state; private Phase _phase; - private readonly Func _playMove; int curUserIndex = 0; private readonly SemaphoreSlim moveLock;