aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2021-04-17 09:27:58 +0100
committerBaronGreenback <jimcartlidge@yahoo.co.uk>2021-04-17 09:27:58 +0100
commit80877aa945c5af9ffd6ca811d981ba417942ed9f (patch)
treefd387d13d001cacd83e52879cc3c321dd6c93e92 /Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
parentb63f615fd4f92f40394d04c9ae764b35aadc000d (diff)
Cleaned up "value assigned is not used in any execution path"
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/WebSocketConnection.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/WebSocketConnection.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs b/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
index 06acb5606..c661e6757 100644
--- a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
+++ b/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
@@ -1,4 +1,4 @@
-#nullable enable
+#nullable enable
using System;
using System.Buffers;
@@ -182,7 +182,7 @@ namespace Emby.Server.Implementations.HttpServer
}
WebSocketMessage<object>? stub;
- long bytesConsumed = 0;
+ long bytesConsumed;
try
{
stub = DeserializeWebSocketMessage(buffer, out bytesConsumed);