From dc7a2122784681e5b5157c275ccb6a1e2acf7254 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 21 Mar 2016 19:44:54 +0100 Subject: [PATCH] Use unused result which must be used when file.seek()ing --- libimagstore/src/store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index 123b51ea..011fb7a5 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -76,7 +76,7 @@ impl StoreEntry { // TODO: let mut file = file.unwrap(); let entry = Entry::from_file(self.id.clone(), &mut file); - file.seek(SeekFrom::Start(0)); + file.seek(SeekFrom::Start(0)).ok(); entry } } else {