From 115d927c15f8c70442de7cc3a43e99587b499c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 20 Oct 2020 09:07:32 +0200 Subject: [PATCH] unbreak build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and silence warning. Signed-off-by: Fabian Grünbichler --- src/backup/datastore.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backup/datastore.rs b/src/backup/datastore.rs index a856e2f4..d8e7a794 100644 --- a/src/backup/datastore.rs +++ b/src/backup/datastore.rs @@ -18,7 +18,7 @@ use super::fixed_index::{FixedIndexReader, FixedIndexWriter}; use super::manifest::{MANIFEST_BLOB_NAME, MANIFEST_LOCK_NAME, CLIENT_LOG_BLOB_NAME, BackupManifest}; use super::index::*; use super::{DataBlob, ArchiveType, archive_type}; -use crate::config::datastore; +use crate::config::datastore::{self, DataStoreConfig}; use crate::task::TaskState; use crate::tools; use crate::tools::format::HumanByte; @@ -65,7 +65,7 @@ impl DataStore { Ok(datastore) } - fn open_with_path(store_name: &str, path: &Path, config: DataStoreConfig) -> Result { + fn open_with_path(store_name: &str, path: &Path, _config: DataStoreConfig) -> Result { let chunk_store = ChunkStore::open(store_name, path)?; let gc_status = GarbageCollectionStatus::default();