1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2025-07-31 22:03:40 -04:00

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.
This commit is contained in:
Ty Coghlan 2017-10-26 21:48:11 -04:00 committed by Joe Wilm
parent 22ccd7b4b1
commit 7c4e84c695

View file

@ -348,7 +348,7 @@ impl Window {
} }
#[cfg(not(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "openbsd")))] #[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"))] #[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "openbsd"))]