浏览代码

Fix the 2 new warnings

Bond-009 6 年之前
父节点
当前提交
cedf50eeec
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Jellyfin.Server/Program.cs

+ 1 - 2
Jellyfin.Server/Program.cs

@@ -125,7 +125,7 @@ namespace Jellyfin.Server
             SQLitePCL.Batteries_V2.Init();
 
             // Allow all https requests
-            ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(delegate { return true; } );
+            ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(delegate { return true; });
 
             var fileSystem = new ManagedFileSystem(_loggerFactory, environmentInfo, appPaths);
 
@@ -144,7 +144,6 @@ namespace Jellyfin.Server
                 appHost.ImageProcessor.ImageEncoder = GetImageEncoder(fileSystem, appPaths, appHost.LocalizationManager);
 
                 await appHost.RunStartupTasks().ConfigureAwait(false);
-                // TODO: read input for a stop command
 
                 try
                 {