Skip to content

Commit

Permalink
Remove unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanheise committed Jan 4, 2021
1 parent ff8e9ef commit 9c73fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion just_audio/darwin/Classes/AudioPlayer.m
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ - (void)observeValueForKeyPath:(NSString *)keyPath
}
} 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
Expand Down

0 comments on commit 9c73fde

Please sign in to comment.