1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-10-22 20:19:38 +00:00

Remove unused variable.

This commit is contained in:
Nolan Darilek 2020-11-03 11:24:09 -06:00
parent 4e157b6fb5
commit 6b74afe503

View File

@ -157,7 +157,6 @@ impl Backend for WinRT {
let source = MediaSource::create_from_stream(stream, content_type)?;
let item = MediaPlaybackItem::create(source)?;
let item_index = self.playback_list.current_item_index()?;
let item_count = self.playback_list.items()?.size()?;
let state = self.player.playback_session()?.playback_state()?;
if state == MediaPlaybackState::Paused && item_index != 0 {
self.playback_list.items()?.clear()?;