Explorar o código

Throw exception when calling unreachable function

Bond_009 %!s(int64=7) %!d(string=hai) anos
pai
achega
78dafb5399
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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>