summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTroy A. Griffitts <scribe@crosswire.org>2023-04-16 15:28:36 +0000
committerTroy A. Griffitts <scribe@crosswire.org>2023-04-16 15:28:36 +0000
commitfa2a961f61dea264b39df9e7d76222b245e113c9 (patch)
treed01934fb70a9f7f4a5db384fe4026acf934cfa52
parentfef85d7429d5f8c11e0199804d302465a3afb649 (diff)
downloadsword-tools-fa2a961f61dea264b39df9e7d76222b245e113c9.tar.gz
removed spurious int j
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@558 07627401-56e2-0310-80f4-f8cd0041bdcd
-rw-r--r--migratetags/matchers/defaultmatcher.h1
-rw-r--r--migratetags/matchers/gntmatcher.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/migratetags/matchers/defaultmatcher.h b/migratetags/matchers/defaultmatcher.h
index fbf14ff..f2b6e90 100644
--- a/migratetags/matchers/defaultmatcher.h
+++ b/migratetags/matchers/defaultmatcher.h
@@ -54,7 +54,6 @@ virtual void matchWords(vector<int> &targetWordTags, const vector<SWBuf> &target
// poor effort attempt
- int j = 0;
for (int i = 0; i < targetWords.size(); ++i) {
for (int j = 0; j < fromWords.size(); ++j) {
if (fromWordTags[j] == -1) continue;
diff --git a/migratetags/matchers/gntmatcher.h b/migratetags/matchers/gntmatcher.h
index adce7ef..8c8f3e4 100644
--- a/migratetags/matchers/gntmatcher.h
+++ b/migratetags/matchers/gntmatcher.h
@@ -58,7 +58,6 @@ virtual void matchWords(vector<int> &targetWordTags, const vector<SWBuf> &target
// poor effort attempt
- int j = 0;
for (int i = 0; i < targetWords.size(); ++i) {
SWBuf w1 = targetWords[i];
int j = 0;
@@ -87,7 +86,7 @@ virtual void matchWords(vector<int> &targetWordTags, const vector<SWBuf> &target
if (w1 == "ἀλλ" || w1 == "Ἀλλ") w1 = "αλλα";
if (w1 != w1Orig) {
- for (int j = 0; j < fromWords.size(); ++j) {
+ for (j = 0; j < fromWords.size(); ++j) {
if (fromWordTags[j] == -1) continue;
SWBuf w2 = fromWords[j];