summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2018-12-24 12:21:25 -0500
committerJiayi Zhao <jeff.no.zhao@gmail.com>2018-12-24 12:21:25 -0500
commit7af8e3db4507f68af266ae45479fb8aa786eb894 (patch)
tree4407be3f14b775d493dc20c27a3f5eb1851124ad
parent3e9412b19d0c869d84c47bdd6d97ab9b9acb1f93 (diff)
remove unused variables
-rw-r--r--src/joshuto/mod.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/joshuto/mod.rs b/src/joshuto/mod.rs
index a914a9a..9a10925 100644
--- a/src/joshuto/mod.rs
+++ b/src/joshuto/mod.rs
@@ -436,10 +436,6 @@ pub fn run(mut config_t: config::JoshutoConfig,
},
};
- let index : usize = curr_view.as_ref().unwrap().index as usize;
- let dirent : &structs::JoshutoDirEntry = &curr_view.as_ref().unwrap()
- .contents.as_ref().unwrap()[index];
-
redraw_status(&joshuto_view, curr_view.as_ref(), &curr_path,
&config_t.username, &config_t.hostname);