mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_ws_load_test: fix unused variable compiler warnings
This commit is contained in:
parent
67c346f88e
commit
0aa781a79c
1 changed files with 2 additions and 6 deletions
|
|
@ -163,9 +163,7 @@ impl Connection {
|
||||||
Err(tungstenite::Error::Io(err)) if err.kind() == ErrorKind::WouldBlock => {
|
Err(tungstenite::Error::Io(err)) if err.kind() == ErrorKind::WouldBlock => {
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
Err(err) => {
|
Err(_) => {
|
||||||
// eprintln!("handle_read_event error: {}", err);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -224,9 +222,7 @@ impl Connection {
|
||||||
Err(tungstenite::Error::Io(err)) if err.kind() == ErrorKind::WouldBlock => {
|
Err(tungstenite::Error::Io(err)) if err.kind() == ErrorKind::WouldBlock => {
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
Err(err) => {
|
Err(_) => {
|
||||||
// eprintln!("send request error: {:?}", err);
|
|
||||||
|
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue