mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-06 13:02:55 +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
|
// Kills the actual task running the monitor
|
||||||
handle.abort();
|
handle.abort();
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
_ = vm_monitor; // appease unused lint on macOS
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -791,6 +793,7 @@ impl ComputeNode {
|
|||||||
};
|
};
|
||||||
StartVmMonitorResult { token, vm_monitor }
|
StartVmMonitorResult { token, vm_monitor }
|
||||||
} else {
|
} else {
|
||||||
|
_ = disable_lfc_resizing; // appease unused lint on macOS
|
||||||
StartVmMonitorResult { }
|
StartVmMonitorResult { }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user