mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-23 06:09:59 +00:00
compute_tools: appease unused lint on macOS (#11074)
## Problem On macOS, the `unused` lint complains about two variables not used in `!linux` builds. These were introduced in #11007. ## Summary of changes Appease the linter by explicitly using the variables in `!linux` branches.
This commit is contained in:
@@ -468,6 +468,8 @@ impl ComputeNode {
|
||||
// Kills the actual task running the monitor
|
||||
handle.abort();
|
||||
}
|
||||
} else {
|
||||
_ = vm_monitor; // appease unused lint on macOS
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -791,6 +793,7 @@ impl ComputeNode {
|
||||
};
|
||||
StartVmMonitorResult { token, vm_monitor }
|
||||
} else {
|
||||
_ = disable_lfc_resizing; // appease unused lint on macOS
|
||||
StartVmMonitorResult { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user