[sword-svn] r1897 - trunk/src/keys
scribe at crosswire.org
scribe at crosswire.org
Mon Feb 13 02:35:23 MST 2006
Author: scribe
Date: 2006-02-13 02:35:21 -0700 (Mon, 13 Feb 2006)
New Revision: 1897
Modified:
trunk/src/keys/treekey.cpp
Log:
Fixed a bug when trying to do a silly optimization. Removed the optimization.
Modified: trunk/src/keys/treekey.cpp
===================================================================
--- trunk/src/keys/treekey.cpp 2006-02-13 09:29:56 UTC (rev 1896)
+++ trunk/src/keys/treekey.cpp 2006-02-13 09:35:21 UTC (rev 1897)
@@ -49,10 +49,6 @@
root();
- //assert we have more to do
- if (!*keybuf)
- return;
-
// TODO: change to NOT use strtok. strtok is dangerous.
char *tok = strtok(keybuf, "/");
while (tok) {
More information about the sword-cvs
mailing list