aboutsummaryrefslogtreecommitdiffhomepage
path: root/highlight.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-26 01:21:10 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-26 01:21:10 -0700
commit0bc644abf06d1cf903ed7bf59302894f80d18971 (patch)
treeda229cd4505d34800af22e10c8f61d380d6a88b3 /highlight.cpp
parent31b7d076b7bff8d7bb81e6a1fff58755b7baa10b (diff)
Fix lots of bugs related to the static analyzer
Improved how screen.cpp interacts with output_set_writer()
Diffstat (limited to 'highlight.cpp')
-rw-r--r--highlight.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/highlight.cpp b/highlight.cpp
index 87d2e8ba..b5aa86eb 100644
--- a/highlight.cpp
+++ b/highlight.cpp
@@ -292,7 +292,6 @@ static void highlight_param( const wcstring &buffstr, std::vector<int> &colors,
int chars=2;
int base=16;
- int byte = 0;
wchar_t max_val = ASCII_MAX;
switch( buff[in_pos] )
@@ -318,7 +317,6 @@ static void highlight_param( const wcstring &buffstr, std::vector<int> &colors,
case L'X':
{
- byte=1;
max_val = BYTE_MAX;
break;
}