mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-31 20:10:38 +00:00
compute_ctl: Fix unused variable on non-Linux (#7646)
Introduced by refactorings from #7577. See an example check-macos-build failure here: https://github.com/neondatabase/neon/actions/runs/8992211409/job/24701531264
This commit is contained in:
@@ -378,7 +378,8 @@ struct WaitSpecResult {
|
||||
}
|
||||
|
||||
fn start_postgres(
|
||||
matches: &clap::ArgMatches,
|
||||
// need to allow unused because `matches` is only used if target_os = "linux"
|
||||
#[allow(unused_variables)] matches: &clap::ArgMatches,
|
||||
WaitSpecResult {
|
||||
compute,
|
||||
http_port,
|
||||
|
||||
Reference in New Issue
Block a user