diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-01-08 20:33:52 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-01-08 20:33:52 +0100 |
commit | ce4dac09fa79b9499b8a588108871138a017f25c (patch) | |
tree | acd7f8848cca76be8e7081c9751160a55a9d2d0a | |
parent | e21aee58f6dd7785df50d5d2a473feb5f6b2ed4f (diff) |
Fix: Remove unused variablecleanup
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | nix-rust/src/nar.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nix-rust/src/nar.rs b/nix-rust/src/nar.rs index cb520935e..9b1bca6d2 100644 --- a/nix-rust/src/nar.rs +++ b/nix-rust/src/nar.rs @@ -24,10 +24,8 @@ fn parse_file<R: Read>(input: &mut R) -> Result<(), Error> { match String::read(input)?.as_ref() { "regular" => { - let mut _executable = false; let mut tag = String::read(input)?; if tag == "executable" { - _executable = true; if String::read(input)? != "" { return Err(Error::BadExecutableField); } |