mirror of
https://github.com/greatest-ape/aquatic.git
synced 2026-10-22 17:31:15 +00:00
aquatic_ws_load_test: fix unused variable compiler warnings
This commit is contained in:
1 parent
67c346f88e
commit
0aa781a79c
1 file changed
+2
-6
@@ -163,9 +163,7 @@ impl Connection {
|
||||
Err(tungstenite::Error::Io(err)) if err.kind() == ErrorKind::WouldBlock => {
|
||||
return false;
|
||||
},
|
||||
Err(err) => {
|
||||
// eprintln!("handle_read_event error: {}", err);
|
||||
|
||||
Err(_) => {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -224,9 +222,7 @@ impl Connection {
|
||||
Err(tungstenite::Error::Io(err)) if err.kind() == ErrorKind::WouldBlock => {
|
||||
false
|
||||
}
|
||||
Err(err) => {
|
||||
// eprintln!("send request error: {:?}", err);
|
||||
|
||||
Err(_) => {
|
||||
true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user