summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-01-08 20:33:52 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-01-08 20:33:52 +0100
commitce4dac09fa79b9499b8a588108871138a017f25c (patch)
treeacd7f8848cca76be8e7081c9751160a55a9d2d0a
parente21aee58f6dd7785df50d5d2a473feb5f6b2ed4f (diff)
Fix: Remove unused variablecleanup
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--nix-rust/src/nar.rs2
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);
}