Remove unneeded variable

pull/1154/head
Claus Vium 6 years ago
parent 26e20d1cd5
commit 2b47006662

@ -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();
} }

Loading…
Cancel
Save