From dd005a1e4c98fed8155ad9817bec87dbfa88c038 Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Fri, 14 Jul 2023 14:18:56 +0200 Subject: [PATCH] threadshare: fix warning for unused variable Part-of: --- generic/threadshare/src/socket.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/threadshare/src/socket.rs b/generic/threadshare/src/socket.rs index 088dd5c1..f52039fb 100644 --- a/generic/threadshare/src/socket.rs +++ b/generic/threadshare/src/socket.rs @@ -240,7 +240,7 @@ impl GioSocketWrapper { } #[cfg(not(unix))] - pub fn set_tos(&self, qos_dscp: i32) -> Result<(), glib::Error> { + pub fn set_tos(&self, _qos_dscp: i32) -> Result<(), glib::Error> { Ok(()) }