From 35160db268b6c0b09f6fb6f9952cdab7034099bd Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 22 Feb 2016 03:37:03 -0800 Subject: Remove an unused variable --- src/complete.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/complete.cpp') diff --git a/src/complete.cpp b/src/complete.cpp index 4c157778..06daaa1b 100644 --- a/src/complete.cpp +++ b/src/complete.cpp @@ -881,10 +881,6 @@ void completer_t::complete_cmd(const wcstring &str_cmd, bool use_function, bool std::vector possible_comp; - env_var_t cdpath = this->vars.get(L"CDPATH"); - if (cdpath.missing_or_empty()) - cdpath = L"."; - if (use_command) { -- cgit v1.2.3