Remove unused "mut" from Store::delete()

This commit is contained in:
Matthias Beyer 2016-03-01 21:12:57 +01:00
parent 8dfccba0b8
commit 4390c39a6c

View file

@ -233,7 +233,7 @@ impl Store {
return Err(StoreError::new(StoreErrorKind::StorePathOutsideStore, None));
}
let mut entries_lock = self.entries.write();
let entries_lock = self.entries.write();
if entries_lock.is_err() {
return Err(StoreError::new(StoreErrorKind::LockPoisoned, None))
}