summaryrefslogtreecommitdiffstats
path: root/nix-rust/src/nar.rs
diff options
context:
space:
mode:
Diffstat (limited to 'nix-rust/src/nar.rs')
-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);
}