[sword-svn] r2059 - trunk/src/keys
scribe at www.crosswire.org
scribe at www.crosswire.org
Sun Jul 8 00:09:54 MST 2007
Author: scribe
Date: 2007-07-08 00:09:53 -0700 (Sun, 08 Jul 2007)
New Revision: 2059
Modified:
trunk/src/keys/versekey.cpp
Log:
Init a few arrays to make valgrind happy.
Modified: trunk/src/keys/versekey.cpp
===================================================================
--- trunk/src/keys/versekey.cpp 2007-07-08 04:24:42 UTC (rev 2058)
+++ trunk/src/keys/versekey.cpp 2007-07-08 07:09:53 UTC (rev 2059)
@@ -447,6 +447,8 @@
ListKey VerseKey::ParseVerseList(const char *buf, const char *defaultKey, bool expandRange) {
char book[2048];
char number[2048];
+ *book = 0;
+ *number = 0;
int tobook = 0;
int tonumber = 0;
int chap = -1, verse = -1;
More information about the sword-cvs
mailing list