diff options
| author | Bond-009 <bond.009@outlook.com> | 2019-10-25 12:47:20 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-11-22 16:15:31 +0100 |
| commit | b477b3874ef8d79a1e27f8bb298d38443c3ec425 (patch) | |
| tree | 9e2ce5032892e4c590cab63269081c413cbfdac7 /Emby.Server.Implementations/Session/HttpSessionController.cs | |
| parent | 7846e9cb3cce026b81509454c8128cc7ca17c2f8 (diff) | |
Fix some warnings
Diffstat (limited to 'Emby.Server.Implementations/Session/HttpSessionController.cs')
| -rw-r--r-- | Emby.Server.Implementations/Session/HttpSessionController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Session/HttpSessionController.cs b/Emby.Server.Implementations/Session/HttpSessionController.cs index 1104a7a85..dfb81816c 100644 --- a/Emby.Server.Implementations/Session/HttpSessionController.cs +++ b/Emby.Server.Implementations/Session/HttpSessionController.cs @@ -105,7 +105,7 @@ namespace Emby.Server.Implementations.Session return SendMessage(command.Command.ToString(), messageId, args, cancellationToken); } - private string[] _supportedMessages = new string[] { }; + private string[] _supportedMessages = Array.Empty<string>(); public Task SendMessage<T>(string name, string messageId, T data, ISessionController[] allControllers, CancellationToken cancellationToken) { if (!IsSessionActive) |
