warning fix
This commit is contained in:
@@ -6,7 +6,7 @@ use netrunner_core::{
|
||||
},
|
||||
rawcast::RawCastFrame,
|
||||
};
|
||||
use netrunner_logger::{debug, warn};
|
||||
use netrunner_logger::warn;
|
||||
use smoltcp::{
|
||||
iface::{SocketHandle, SocketSet},
|
||||
socket::{Socket, tcp, udp},
|
||||
|
||||
@@ -92,7 +92,7 @@ impl SocketProvider for SmolSocketFactory {
|
||||
socket
|
||||
}
|
||||
|
||||
fn reconfigure_tcp(&self, socket: &mut tcp::Socket, profile: TrafficProfile) {
|
||||
fn reconfigure_tcp(&self, socket: &mut tcp::Socket, _profile: TrafficProfile) {
|
||||
socket.set_nagle_enabled(false);
|
||||
|
||||
socket.set_ack_delay(None);
|
||||
|
||||
Reference in New Issue
Block a user