aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTy Coghlan <Coghlan.ty@gmail.com>2017-10-26 21:48:11 -0400
committerJoe Wilm <jwilm@users.noreply.github.com>2017-10-26 18:48:11 -0700
commit7c4e84c695cc54ca1d7089a91a97ce2617010205 (patch)
treec0ad5ebcadffb1c27a45a26ce1a38432d5043c54
parent22ccd7b4b13b02fa56a75c4b737f941a99bb9782 (diff)
downloadalacritty-7c4e84c695cc54ca1d7089a91a97ce2617010205.tar.gz
alacritty-7c4e84c695cc54ca1d7089a91a97ce2617010205.zip
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.
-rw-r--r--src/window.rs2
1 files changed, 1 insertions, 1 deletions
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"))]