Skip to content

The Free Software Media System - Server Backend & API

removed unused

JPVenson3b18a36ba5fc
diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
index c82c703769..e1f0dc3c02 100644
--- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
+++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
@@ -390,7 +390,6 @@ public sealed class BaseItemRepository
ArgumentNullException.ThrowIfNull(items);
cancellationToken.ThrowIfCancellationRequested();
- var itemsLen = items.Count;
var tuples = new List<(BaseItemDto Item, List<Guid>? AncestorIds, BaseItemDto TopParent, IEnumerable<string> UserDataKey, List<string> InheritedTags)>();
foreach (var item in items.GroupBy(e => e.Id).Select(e => e.Last()))
{