Pārlūkot izejas kodu

Throw exception when calling unreachable function

Bond_009 6 gadi atpakaļ
vecāks
revīzija
78dafb5399
1 mainītis faili ar 0 papildinājumiem un 3 dzēšanām
  1. 0 3
      Emby.Server.Implementations/ApplicationHost.cs

+ 0 - 3
Emby.Server.Implementations/ApplicationHost.cs

@@ -2291,10 +2291,7 @@ namespace Emby.Server.Implementations
         /// <returns>Task{CheckForUpdateResult}.</returns>
         public Task<CheckForUpdateResult> CheckForApplicationUpdate(CancellationToken cancellationToken, IProgress<double> progress)
         {
-#if DEBUG
             throw new Exception("Unimplemented");
-#endif
-            return Task.FromResult(new CheckForUpdateResult());
         }
 
         /// <summary>