aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/complete.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-08-10 22:01:50 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-08-10 22:01:50 -0700
commitb9b6b6108e53e3b5ea09b78c334b16fa0e4ac8a9 (patch)
treeadf9a665463ba016fa945876b7a009aa197051e0 /src/complete.cpp
parent3a2ba60b707edb0748e571ef067fd2b41ca14a13 (diff)
Dead macro cleanup
Enable -Wunused-macros, and remove said unused macros
Diffstat (limited to 'src/complete.cpp')
-rw-r--r--src/complete.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/complete.cpp b/src/complete.cpp
index ed30776d..25e81c67 100644
--- a/src/complete.cpp
+++ b/src/complete.cpp
@@ -58,35 +58,6 @@
#define COMPLETE_VAR_DESC_VAL _( L"Variable: %ls" )
/**
- The maximum number of commands on which to perform description
- lookup. The lookup process is quite time consuming, so this should
- be set to a pretty low number.
-*/
-#define MAX_CMD_DESC_LOOKUP 10
-
-/**
- Condition cache value returned from hashtable when this condition
- has not yet been tested. This value is NULL, so that when the hash
- table returns NULL, this wil be seen as an untested condition.
-*/
-#define CC_NOT_TESTED 0
-
-/**
- Condition cache value returned from hashtable when the condition is
- met. This can be any value, that is a valid pointer, and that is
- different from CC_NOT_TESTED and CC_FALSE.
-*/
-#define CC_TRUE L"true"
-
-/**
- Condition cache value returned from hashtable when the condition is
- not met. This can be any value, that is a valid pointer, and that
- is different from CC_NOT_TESTED and CC_TRUE.
-
-*/
-#define CC_FALSE L"false"
-
-/**
The special cased translation macro for completions. The empty
string needs to be special cased, since it can occur, and should
not be translated. (Gettext returns the version information as the