[sword-svn] r558 - trunk/migratetags/matchers

scribe at crosswire.org scribe at crosswire.org
Sun Apr 16 11:28:36 EDT 2023


Author: scribe
Date: 2023-04-16 11:28:36 -0400 (Sun, 16 Apr 2023)
New Revision: 558

Modified:
   trunk/migratetags/matchers/defaultmatcher.h
   trunk/migratetags/matchers/gntmatcher.h
Log:
removed spurious int j


Modified: trunk/migratetags/matchers/defaultmatcher.h
===================================================================
--- trunk/migratetags/matchers/defaultmatcher.h	2023-04-16 15:15:59 UTC (rev 557)
+++ trunk/migratetags/matchers/defaultmatcher.h	2023-04-16 15:28:36 UTC (rev 558)
@@ -54,7 +54,6 @@
 
 
 	// 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;

Modified: trunk/migratetags/matchers/gntmatcher.h
===================================================================
--- trunk/migratetags/matchers/gntmatcher.h	2023-04-16 15:15:59 UTC (rev 557)
+++ trunk/migratetags/matchers/gntmatcher.h	2023-04-16 15:28:36 UTC (rev 558)
@@ -58,7 +58,6 @@
 
 
 	// 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 @@
 			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];



More information about the sword-cvs mailing list