Remove unused variable.

This commit is contained in:
Ryan Heise 2021-01-04 18:26:29 +11:00
parent ff8e9ef81c
commit 9c73fde4e1
1 changed files with 1 additions and 1 deletions

View File

@ -800,7 +800,7 @@
}
} else if ([keyPath isEqualToString:@"currentItem"] && _player.currentItem) {
IndexedPlayerItem *playerItem = (IndexedPlayerItem *)change[NSKeyValueChangeNewKey];
IndexedPlayerItem *oldPlayerItem = (IndexedPlayerItem *)change[NSKeyValueChangeOldKey];
//IndexedPlayerItem *oldPlayerItem = (IndexedPlayerItem *)change[NSKeyValueChangeOldKey];
if (playerItem.status == AVPlayerItemStatusFailed) {
if ([_orderInv[_index] intValue] + 1 < [_order count]) {
// account for automatic move to next item