diff options
author | Kurtis Rader <krader@skepticism.us> | 2016-05-28 22:28:26 -0700 |
---|---|---|
committer | Kurtis Rader <krader@skepticism.us> | 2016-05-29 22:24:29 -0700 |
commit | 5bf1b0e5f500b6b99a866da32dd9002219cac6d6 (patch) | |
tree | 4622863e7f28ad7f840d6a7096057286aee4e750 /src/input.cpp | |
parent | 3d19b549c8d9fc77597d0de95260e90f5dda2dae (diff) |
fix random lint issues
This only eliminates errors reported by `make lint`. It shouldn't cause any
functional changes.
This change does remove several functions that are unused. It also removes the
`desc_arr` variable which is both unused and out of date with reality.
Diffstat (limited to 'src/input.cpp')
-rw-r--r-- | src/input.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/input.cpp b/src/input.cpp index efe2f594..5b599e85 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -131,39 +131,6 @@ wcstring describe_char(wint_t c) { return format_string(L"%02x", c); } -/// Description of each supported input function. -static const wchar_t *desc_arr[] = { - L"Move to beginning of line", - L"Move to end of line", - L"Move forward one character", - L"Move backward one character", - L"Move forward one word", - L"Move backward one word", - L"Search backward through list of previous commands", - L"Search forward through list of previous commands", - L"Delete one character forward", - L"Delete one character backward", - L"Move contents from cursor to end of line to killring", - L"Paste contents of killring", - L"Rotate to previous killring entry", - L"Guess the rest of the next input token", - L"Move to first item of history", - L"Move to last item of history", - L"Clear current line", - L"Move contents from beginning of line to cursor to killring", - L"Move entire line to killring", - L"Move next word to killring", - L"Move previous word to killring", - L"Write out key bindings", - L"Clear entire screen", - L"Quit the running program", - L"Search backward through list of previous commands for matching token", - L"Search forward through list of previous commands for matching token", - L"Insert the pressed key", - L"Do nothing", - L"End of file", - L"Repeat command"}; - /// Internal code for each supported input function. static const wchar_t code_arr[] = {R_BEGINNING_OF_LINE, R_END_OF_LINE, |