소스 검색

Throw exception when calling unreachable function

Bond_009 6 년 전
부모
커밋
78dafb5399
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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>