[sword-svn] r2658 - trunk/utilities

scribe at crosswire.org scribe at crosswire.org
Thu Sep 29 11:40:23 MST 2011


Author: scribe
Date: 2011-09-29 11:40:23 -0700 (Thu, 29 Sep 2011)
New Revision: 2658

Modified:
   trunk/utilities/imp2ld.cpp
Log:
fixed silly bug in new parameter parsing code


Modified: trunk/utilities/imp2ld.cpp
===================================================================
--- trunk/utilities/imp2ld.cpp	2011-09-29 17:29:26 UTC (rev 2657)
+++ trunk/utilities/imp2ld.cpp	2011-09-29 18:40:23 UTC (rev 2658)
@@ -154,14 +154,13 @@
 		}
 	}
 
-	SWModule *module = 0;
 	if (compressor) {
 		// Create a compressed text module allowing very large entries
 		// Taking defaults except for first, fourth, fifth and last argument
 		mod = new zLD(outPath, 0, 0, blockCount, compressor, 0, ENC_UNKNOWN, DIRECTION_LTR, FMT_UNKNOWN, 0, caseSensitive);
 	}
 	else {
-		module = (!fourByteSize)
+		mod = (!fourByteSize)
 			? (SWModule *)new RawLD (outPath, 0, 0, 0, ENC_UNKNOWN, DIRECTION_LTR, FMT_UNKNOWN, 0, caseSensitive)
 			: (SWModule *)new RawLD4(outPath, 0, 0, 0, ENC_UNKNOWN, DIRECTION_LTR, FMT_UNKNOWN, 0, caseSensitive);
 	}




More information about the sword-cvs mailing list