Remove unneeded variable

This commit is contained in:
Claus Vium 2019-01-20 17:06:40 +01:00
parent 26e20d1cd5
commit 2b47006662
1 changed files with 1 additions and 3 deletions

View File

@ -103,10 +103,8 @@ namespace MediaBrowser.MediaEncoding.Subtitles
if (endTimeTicks > 0) if (endTimeTicks > 0)
{ {
long endTime = endTimeTicks;
track.TrackEvents = track.TrackEvents track.TrackEvents = track.TrackEvents
.TakeWhile(i => i.StartPositionTicks <= endTime) .TakeWhile(i => i.StartPositionTicks <= endTimeTicks)
.ToArray(); .ToArray();
} }