[sword-svn] r2933 - trunk/src/modules

scribe at crosswire.org scribe at crosswire.org
Wed Jul 31 07:17:09 MST 2013


Author: scribe
Date: 2013-07-31 07:17:09 -0700 (Wed, 31 Jul 2013)
New Revision: 2933

Modified:
   trunk/src/modules/swmodule.cpp
Log:
removed the unsafe use of static local variable


Modified: trunk/src/modules/swmodule.cpp
===================================================================
--- trunk/src/modules/swmodule.cpp	2013-07-31 14:07:01 UTC (rev 2932)
+++ trunk/src/modules/swmodule.cpp	2013-07-31 14:17:09 UTC (rev 2933)
@@ -828,7 +828,7 @@
 		setProcessEntryAttributes(false);
 	}
 
-	static SWBuf local;
+	SWBuf local;
 	if (buf)
 		local = buf;
 




More information about the sword-cvs mailing list