mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-25 14:05:41 -05: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:
parent
22ccd7b4b1
commit
7c4e84c695
1 changed files with 1 additions and 1 deletions
|
@ -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"))]
|
||||
|
|
Loading…
Reference in a new issue