The Free Software Media System - Server Backend & API
Disable CA1801
Davida47ff4043f21
diff --git a/Jellyfin.Api/Controllers/SubtitleController.cs b/Jellyfin.Api/Controllers/SubtitleController.csindex ba2250d81a..97df8c60d8 100644--- a/Jellyfin.Api/Controllers/SubtitleController.cs+++ b/Jellyfin.Api/Controllers/SubtitleController.cs@@ -1,4 +1,5 @@#nullable enable+#pragma warning disable CA1801using System;using System.Collections.Generic;@@ -253,6 +254,7 @@ namespace Jellyfin.Api.Controllers[ProducesResponseType(StatusCodes.Status200OK)]public async Task<ActionResult> GetSubtitlePlaylist([FromRoute] Guid id,+ // TODO: 'int index' is never used: CA1801 is disabled[FromRoute] int index,[FromRoute] string mediaSourceId,[FromQuery, Required] int segmentLength)