diff options
author | Neil <nyamatongwe@gmail.com> | 2018-07-06 11:52:41 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-07-06 11:52:41 +1000 |
commit | 7566a4a939d56d138ecd3e873242ef0a325a716f (patch) | |
tree | a7bdd3c060afd1fd6c31de03293fa6283659b784 /test/unit/testSplitVector.cxx | |
parent | 3c52d2441c08f8565b4c4fc724e5c1673f0fa794 (diff) | |
download | scintilla-mirror-7566a4a939d56d138ecd3e873242ef0a325a716f.tar.gz |
Fix a shadowed variable.
Diffstat (limited to 'test/unit/testSplitVector.cxx')
-rw-r--r-- | test/unit/testSplitVector.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/testSplitVector.cxx b/test/unit/testSplitVector.cxx index 215d88189..a1426d38a 100644 --- a/test/unit/testSplitVector.cxx +++ b/test/unit/testSplitVector.cxx @@ -305,8 +305,8 @@ TEST_CASE("SplitVector") { for (int i=0; i<10; i+=2) { int len = 10 - i; REQUIRE(len == sv.Length()); - for (int i=0; i<sv.Length(); i++) { - REQUIRE(87 == sv.ValueAt(i)); + for (int j=0; j<sv.Length(); j++) { + REQUIRE(87 == sv.ValueAt(j)); } sv.Delete(len-1); sv.Delete(0); |