From 7c4e84c695cc54ca1d7089a91a97ce2617010205 Mon Sep 17 00:00:00 2001 From: Ty Coghlan Date: Thu, 26 Oct 2017 21:48:11 -0400 Subject: set_urgent on mac throws a warning (#867) On mac, compiling throws a warning due to `is_urgent` not being used within `set_urgent`. This can be changed just by using an underscore instead. --- src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/window.rs b/src/window.rs index 34a9c780..486bd590 100644 --- a/src/window.rs +++ b/src/window.rs @@ -348,7 +348,7 @@ impl Window { } #[cfg(not(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "openbsd")))] - pub fn set_urgent(&self, is_urgent: bool) { + pub fn set_urgent(&self, _: bool) { } #[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "openbsd"))] -- cgit