pageserver: appease unused lint on macOS (#10846)

## Problem

`SmgrOpFlushInProgress::measure()` takes a `socket_fd` argument which is
only used on Linux. This causes linter warnings on macOS.

Touches #10823.

## Summary of changes

Add a noop use of `socket_fd` on non-Linux branch.
This commit is contained in:
Erik Grinaker
2025-02-17 15:41:22 +01:00
committed by GitHub
parent 8c6d133d31
commit 8a2d95b4b5

View File

@@ -1489,6 +1489,7 @@ impl SmgrOpFlushInProgress {
}
#[cfg(not(target_os = "linux"))]
{
_ = socket_fd; // appease unused lint on macOS
(-1, -1)
}
};