From 18219646a085d3e536e1af6a28471283813eb04a Mon Sep 17 00:00:00 2001 From: Jon Eyolfson Date: Thu, 27 Jul 2017 19:49:03 -0400 Subject: [PATCH] Remove completer_t::complete_special_cd The class `completer_t` declares `complete_special_cd`, an unused method. I searched the entire source tree and this declaration seems to be the only instance of `complete_special_cd`. There is no definition or uses which likely means this is dead code. --- src/complete.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/complete.cpp b/src/complete.cpp index 3ca2c8131..ac364724c 100644 --- a/src/complete.cpp +++ b/src/complete.cpp @@ -317,8 +317,6 @@ class completer_t { void complete_param_expand(const wcstring &str, bool do_file, bool handle_as_special_cd = false); - void complete_special_cd(const wcstring &str); - void complete_cmd(const wcstring &str, bool use_function, bool use_builtin, bool use_command, bool use_implicit_cd);