Jelajahi Sumber

Fix the 2 new warnings

Bond-009 6 tahun lalu
induk
melakukan
cedf50eeec
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      Jellyfin.Server/Program.cs

+ 1 - 2
Jellyfin.Server/Program.cs

@@ -125,7 +125,7 @@ namespace Jellyfin.Server
             SQLitePCL.Batteries_V2.Init();
             SQLitePCL.Batteries_V2.Init();
 
 
             // Allow all https requests
             // 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);
             var fileSystem = new ManagedFileSystem(_loggerFactory, environmentInfo, appPaths);
 
 
@@ -144,7 +144,6 @@ namespace Jellyfin.Server
                 appHost.ImageProcessor.ImageEncoder = GetImageEncoder(fileSystem, appPaths, appHost.LocalizationManager);
                 appHost.ImageProcessor.ImageEncoder = GetImageEncoder(fileSystem, appPaths, appHost.LocalizationManager);
 
 
                 await appHost.RunStartupTasks().ConfigureAwait(false);
                 await appHost.RunStartupTasks().ConfigureAwait(false);
-                // TODO: read input for a stop command
 
 
                 try
                 try
                 {
                 {