aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/expand.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-04 23:57:21 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-04 23:57:21 -0800
commit1e6492ef93b467e008a1854a83e42edddd948dd2 (patch)
treee4f7cfaf18c9eec0cc3d4529f6f36b494401a1e5 /src/expand.h
parent4c5aa8860acbe69718c16ca11adc629e12822d51 (diff)
Bits of cleanup of expand_string
Remove some unnecessary variables, make some things not pointers
Diffstat (limited to 'src/expand.h')
-rw-r--r--src/expand.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/expand.h b/src/expand.h
index b07186e4..e209fb26 100644
--- a/src/expand.h
+++ b/src/expand.h
@@ -185,19 +185,6 @@ void expand_tilde(wcstring &input);
wcstring replace_home_directory_with_tilde(const wcstring &str);
/**
- Test if the specified argument is clean, i.e. it does not contain
- any tokens which need to be expanded or otherwise altered. Clean
- strings can be passed through expand_string and expand_one without
- changing them. About two thirds of all strings are clean, so
- skipping expansion on them actually does save a small amount of
- time, since it avoids multiple memory allocations during the
- expansion process.
-
- \param in the string to test
-*/
-int expand_is_clean(const wchar_t *in);
-
-/**
Testing function for getting all process names.
*/
std::vector<wcstring> expand_get_all_process_names(void);