aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/complete.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-22 03:37:03 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-22 03:37:03 -0800
commit35160db268b6c0b09f6fb6f9952cdab7034099bd (patch)
tree373ab93fe08ca8422f8b5ff0a945e5eac5944323 /src/complete.cpp
parent5b0996fd80c6f2e5844dc42be2a0368ea3ff9e12 (diff)
Remove an unused variable
Diffstat (limited to 'src/complete.cpp')
-rw-r--r--src/complete.cpp4
1 files changed, 0 insertions, 4 deletions
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<completion_t> possible_comp;
- env_var_t cdpath = this->vars.get(L"CDPATH");
- if (cdpath.missing_or_empty())
- cdpath = L".";
-
if (use_command)
{