mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-22 15:51:18 -03:00
Reuse variable in next_input_event()
This commit is contained in:
@@ -560,7 +560,7 @@ fn next_input_event(in_fd: RawFd) -> InputEventTrigger {
|
||||
// Get the uvar notifier fd (possibly none).
|
||||
let notifier = default_notifier();
|
||||
let notifier_fd = notifier.notification_fd();
|
||||
if let Some(notifier_fd) = notifier.notification_fd() {
|
||||
if let Some(notifier_fd) = notifier_fd {
|
||||
fdset.add(notifier_fd);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user