From fa2a961f61dea264b39df9e7d76222b245e113c9 Mon Sep 17 00:00:00 2001 From: "Troy A. Griffitts" Date: Sun, 16 Apr 2023 15:28:36 +0000 Subject: removed spurious int j git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@558 07627401-56e2-0310-80f4-f8cd0041bdcd --- migratetags/matchers/defaultmatcher.h | 1 - migratetags/matchers/gntmatcher.h | 3 +-- 2 files changed, 1 insertion(+), 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 &targetWordTags, const vector &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 &targetWordTags, const vector &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 &targetWordTags, const vector &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]; -- cgit