mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-12-10 14:45:46 +00:00
Fix warnings on Windows
This commit is contained in:
@@ -706,7 +706,11 @@ impl Opt {
|
|||||||
indexer_options.export_to_env();
|
indexer_options.export_to_env();
|
||||||
if let Some(s3_snapshot_options) = s3_snapshot_options {
|
if let Some(s3_snapshot_options) = s3_snapshot_options {
|
||||||
#[cfg(not(unix))]
|
#[cfg(not(unix))]
|
||||||
panic!("S3 snapshot options are not supported on Windows");
|
{
|
||||||
|
let _ = s3_snapshot_options;
|
||||||
|
panic!("S3 snapshot options are not supported on Windows");
|
||||||
|
}
|
||||||
|
#[cfg(unix)]
|
||||||
s3_snapshot_options.export_to_env();
|
s3_snapshot_options.export_to_env();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user