aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexRust.cxx
diff options
context:
space:
mode:
authorNeil <devnull@localhost>2013-10-19 14:22:55 +1100
committerNeil <devnull@localhost>2013-10-19 14:22:55 +1100
commitce80b81cbb1080430bb827bae582350982c2c771 (patch)
treef3f6604fb702a4aa787379d5c392c13a104c755e /lexers/LexRust.cxx
parent48554742aa34b5141d3a55990142c723822236e0 (diff)
downloadscintilla-mirror-ce80b81cbb1080430bb827bae582350982c2c771.tar.gz
Remove shadowing declarations to avoid warnings.
Diffstat (limited to 'lexers/LexRust.cxx')
-rw-r--r--lexers/LexRust.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexRust.cxx b/lexers/LexRust.cxx
index 0d9aa1e5e..cb6cd2f50 100644
--- a/lexers/LexRust.cxx
+++ b/lexers/LexRust.cxx
@@ -271,7 +271,7 @@ static void ScanNumber(Accessor& styler, int& pos) {
if (c == 'u' || c == 'i') {
pos++;
c = styler.SafeGetCharAt(pos, '\0');
- int n = styler.SafeGetCharAt(pos + 1, '\0');
+ n = styler.SafeGetCharAt(pos + 1, '\0');
if (c == '8') {
pos++;
} else if (c == '1' && n == '6') {
@@ -290,7 +290,7 @@ static void ScanNumber(Accessor& styler, int& pos) {
if (c == 'f') {
pos++;
c = styler.SafeGetCharAt(pos, '\0');
- int n = styler.SafeGetCharAt(pos + 1, '\0');
+ n = styler.SafeGetCharAt(pos + 1, '\0');
if (c == '3' && n == '2') {
pos += 2;
} else if (c == '6' && n == '4') {