Use unused result which must be used when file.seek()ing

This commit is contained in:
Matthias Beyer 2016-03-21 19:44:54 +01:00
parent a45571e299
commit dc7a212278

View file

@ -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 {