diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-10-08 00:53:52 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-10-08 00:53:52 +0200 |
commit | 0a069a401b7752b154fd834a09ffc32c145fdcf7 (patch) | |
tree | 57000dcd7e080c921f9699f0b6a4a07053ea4534 /libimagref | |
parent | 47ca51b895234d9ef85af853e2c98d5b7243ad83 (diff) |
Remove unused variable
Diffstat (limited to 'libimagref')
-rw-r--r-- | libimagref/src/reference.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libimagref/src/reference.rs b/libimagref/src/reference.rs index 63ca6a39..113e2636 100644 --- a/libimagref/src/reference.rs +++ b/libimagref/src/reference.rs @@ -169,13 +169,13 @@ impl<'a> Ref<'a> { match can.to_str().map(String::from) { // UTF convert error in PathBuf::to_str(), None => Err(REK::PathUTF8Error.into_error()), - Some(can) => Ok((file, opt_conhash, opt_perm, can, path_hash)) + Some(can) => Ok((opt_conhash, opt_perm, can, path_hash)) } }) // and then we create the FileLockEntry in the Store // and return (filelockentry, content hash, permissions, canonicalized path) - .and_then(|(file, opt_conhash, opt_perm, can, path_hash)| { + .and_then(|(opt_conhash, opt_perm, can, path_hash)| { let fle = try!(store .create(ModuleEntryPath::new(path_hash)) .map_err(Box::new) |