aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexRuby.cxx
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2012-02-25 10:57:37 +1100
committernyamatongwe <nyamatongwe@gmail.com>2012-02-25 10:57:37 +1100
commit393831bfa0fdcc5db87841ea8d429c9e8275285d (patch)
treea6aafe4716f2e67d3b8db30b7b388372fff98b09 /lexers/LexRuby.cxx
parent3b553666696950d50af766a3e9ea744327b80304 (diff)
downloadscintilla-mirror-393831bfa0fdcc5db87841ea8d429c9e8275285d.tar.gz
Fix dead code warnings from Xcode Analyze.
Diffstat (limited to 'lexers/LexRuby.cxx')
-rw-r--r--lexers/LexRuby.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/lexers/LexRuby.cxx b/lexers/LexRuby.cxx
index d21a3df15..23115e6e0 100644
--- a/lexers/LexRuby.cxx
+++ b/lexers/LexRuby.cxx
@@ -1192,7 +1192,6 @@ static void ColouriseRbDoc(unsigned int startPos, int length, int initStyle,
state = SCE_RB_DEFAULT;
i--;
chNext = ch;
- chNext2 = chNext;
preferRE = false;
} else if (HereDoc.Quoted) {
if (ch == HereDoc.Quote) { // closing quote => end of delimiter
@@ -1349,7 +1348,6 @@ static void ColouriseRbDoc(unsigned int startPos, int length, int initStyle,
}
}
chNext = styler.SafeGetCharAt(i + 1);
- chNext2 = styler.SafeGetCharAt(i + 2);
}
}
// Quotes of all kinds...