Browse Source

Throw exception when calling unreachable function

Bond_009 6 years ago
parent
commit
78dafb5399
1 changed files with 0 additions and 3 deletions
  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>
         /// <returns>Task{CheckForUpdateResult}.</returns>
         public Task<CheckForUpdateResult> CheckForApplicationUpdate(CancellationToken cancellationToken, IProgress<double> progress)
         public Task<CheckForUpdateResult> CheckForApplicationUpdate(CancellationToken cancellationToken, IProgress<double> progress)
         {
         {
-#if DEBUG
             throw new Exception("Unimplemented");
             throw new Exception("Unimplemented");
-#endif
-            return Task.FromResult(new CheckForUpdateResult());
         }
         }
 
 
         /// <summary>
         /// <summary>