소스 검색

Remove now unused variables

1hitsong 2 년 전
부모
커밋
31ec521f5e
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      Jellyfin.Api/Helpers/ItemHelper.cs

+ 0 - 4
Jellyfin.Api/Helpers/ItemHelper.cs

@@ -23,8 +23,6 @@ namespace Jellyfin.Api.Helpers
         /// <returns>Collection of Lyrics.</returns>
         internal static object? GetLyricData(BaseItem item)
         {
-            List<ILyricsProvider> providerList = new List<ILyricsProvider>();
-
             // Find all classes that implement ILyricsProvider Interface
             var foundLyricProviders = System.Reflection.Assembly.GetExecutingAssembly()
                 .GetTypes()
@@ -58,8 +56,6 @@ namespace Jellyfin.Api.Helpers
         /// <returns>True if item has a matching lyrics file.</returns>
         public static string? GetLyricFilePath(string itemPath)
         {
-            List<string> supportedLyricFileExtensions = new List<string>();
-
             // Find all classes that implement ILyricsProvider Interface
             var foundLyricProviders = System.Reflection.Assembly.GetExecutingAssembly()
                 .GetTypes()