threadshare: fix warning for unused variable

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1281>
This commit is contained in:
Andoni Morales Alastruey 2023-07-14 14:18:56 +02:00 committed by GStreamer Marge Bot
parent e5e3dc6e19
commit dd005a1e4c

View file

@ -240,7 +240,7 @@ impl GioSocketWrapper {
} }
#[cfg(not(unix))] #[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(()) Ok(())
} }