Remove unused variable.
This commit is contained in:
parent
ff8e9ef81c
commit
9c73fde4e1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue