diff options
Diffstat (limited to 'migratetags')
-rw-r--r-- | migratetags/matchers/defaultmatcher.h | 1 | ||||
-rw-r--r-- | migratetags/matchers/gntmatcher.h | 3 |
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]; |