Remove unused variable.
This commit is contained in:
parent
ff8e9ef81c
commit
9c73fde4e1
|
@ -800,7 +800,7 @@
|
||||||
}
|
}
|
||||||
} else if ([keyPath isEqualToString:@"currentItem"] && _player.currentItem) {
|
} else if ([keyPath isEqualToString:@"currentItem"] && _player.currentItem) {
|
||||||
IndexedPlayerItem *playerItem = (IndexedPlayerItem *)change[NSKeyValueChangeNewKey];
|
IndexedPlayerItem *playerItem = (IndexedPlayerItem *)change[NSKeyValueChangeNewKey];
|
||||||
IndexedPlayerItem *oldPlayerItem = (IndexedPlayerItem *)change[NSKeyValueChangeOldKey];
|
//IndexedPlayerItem *oldPlayerItem = (IndexedPlayerItem *)change[NSKeyValueChangeOldKey];
|
||||||
if (playerItem.status == AVPlayerItemStatusFailed) {
|
if (playerItem.status == AVPlayerItemStatusFailed) {
|
||||||
if ([_orderInv[_index] intValue] + 1 < [_order count]) {
|
if ([_orderInv[_index] intValue] + 1 < [_order count]) {
|
||||||
// account for automatic move to next item
|
// account for automatic move to next item
|
||||||
|
|
Loading…
Reference in New Issue