mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-22 17:49:37 +00:00
Remove unused variable.
This commit is contained in:
parent
4e157b6fb5
commit
6b74afe503
|
@ -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()?;
|
||||
|
|
Loading…
Reference in New Issue
Block a user