diff options
| author | Mariell <[email protected]> | 2018-09-23 03:11:25 +0200 |
|---|---|---|
| committer | Lakelezz <[email protected]> | 2018-09-23 03:11:25 +0200 |
| commit | 69931fe349a55eee6ef2735dcfa3823a5988df69 (patch) | |
| tree | dd4b8db1dbc0b3a788580e46888ee04a4e77e5db /src | |
| parent | Remove inconsistent braces (#397) (diff) | |
| download | serenity-69931fe349a55eee6ef2735dcfa3823a5988df69.tar.xz serenity-69931fe349a55eee6ef2735dcfa3823a5988df69.zip | |
Remove a compiler warning about an unused variable (#398)
Diffstat (limited to 'src')
| -rw-r--r-- | src/voice/connection.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/voice/connection.rs b/src/voice/connection.rs index 278e6b4..5f806a0 100644 --- a/src/voice/connection.rs +++ b/src/voice/connection.rs @@ -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() { |