aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/highlight.cpp
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-05-28 22:28:26 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-05-29 22:24:29 -0700
commit5bf1b0e5f500b6b99a866da32dd9002219cac6d6 (patch)
tree4622863e7f28ad7f840d6a7096057286aee4e750 /src/highlight.cpp
parent3d19b549c8d9fc77597d0de95260e90f5dda2dae (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/highlight.cpp')
-rw-r--r--src/highlight.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/highlight.cpp b/src/highlight.cpp
index 9dd6b224..49dd2f06 100644
--- a/src/highlight.cpp
+++ b/src/highlight.cpp
@@ -1039,6 +1039,7 @@ const highlighter_t::color_array_t &highlighter_t::highlight() {
std::fill(this->color_array.begin(), this->color_array.end(), 0);
#if 0
+ // Disabled for the 2.2.0 release: https://github.com/fish-shell/fish-shell/issues/1809.
const wcstring dump = parse_dump_tree(parse_tree, buff);
fprintf(stderr, "%ls\n", dump.c_str());
#endif