aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <unknown>2013-10-19 14:22:55 +1100
committerNeil <unknown>2013-10-19 14:22:55 +1100
commit99e3a0673614697f0ceb07c7fa78d25d5590e20d (patch)
tree77c6e4dfdaf32b4e39d42ef2885e6f539c634359
parent49f6d05e574d93406e917eaceab4c2cae3c6b350 (diff)
downloadscintilla-mirror-99e3a0673614697f0ceb07c7fa78d25d5590e20d.tar.gz
Remove shadowing declarations to avoid warnings.
-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') {