From e808507558794a57fc472432036fcc846043bf11 Mon Sep 17 00:00:00 2001 From: RogueException Date: Mon, 12 Oct 2015 21:01:53 -0300 Subject: [PATCH] Fixed a warning --- src/Discord.Net/WebSockets/Voice/VoiceWebSocket.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net/WebSockets/Voice/VoiceWebSocket.cs b/src/Discord.Net/WebSockets/Voice/VoiceWebSocket.cs index ffcdfe87b..c1aab5a14 100644 --- a/src/Discord.Net/WebSockets/Voice/VoiceWebSocket.cs +++ b/src/Discord.Net/WebSockets/Voice/VoiceWebSocket.cs @@ -610,7 +610,7 @@ namespace Discord.WebSockets.Voice if (!_connectedEvent.Wait(timeout, _cancelToken)) throw new TimeoutException(); } - catch (OperationCanceledException ex) + catch (OperationCanceledException) { ThrowError(); }