Skip to content

Commit

Permalink
Remove a compiler warning about an unused variable (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
Proximyst authored and Lakelezz committed Sep 23, 2018
1 parent ccfa7fd commit 69931fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/voice/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ fn start_threads(client: Arc<Mutex<Client>>, udp: &UdpSocket) -> Result<ThreadIt
while let Ok(Some(value)) = client.lock().recv_json() {
let msg = match VoiceEvent::deserialize(value) {
Ok(msg) => msg,
Err(why) => break,
Err(_) => break,
};

if tx_clone.send(ReceiverStatus::Websocket(msg)).is_err() {
Expand Down

0 comments on commit 69931fe

Please sign in to comment.