[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/src - ZopeSplitter.c:1.2.10.7

Andreas Jung andreas@zope.com
Thu, 11 Oct 2001 09:54:50 -0400


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/src
In directory cvs.zope.org:/tmp/cvs-serv17422/src

Modified Files:
      Tag: ajung-unicode
	ZopeSplitter.c 
Log Message:


=== Zope/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/src/ZopeSplitter.c 1.2.10.6 => 1.2.10.7 ===
 
         PyObject *value;
-
-#if DEBUG
-        PO(word);
-        PO(self->synstop);
-#endif
+        PyObject *res;
 
         if (PyList_Check(self->list)) {
 
@@ -32,9 +28,11 @@
                 if (value) {
                         Py_INCREF(value);
 
-                        return value;
-                } else return word;
-        } else return word;
+                        res = value;
+                } else res = word;
+        } else res = word;
+
+    return res;
 }
 
 static void