SVN: ZODB/trunk/src/BTrees/BucketTemplate.c Placate GCC, which is fooled by the goto.

Tres Seaver <[email protected]>
Newsgroups gmane.comp.python.zope.zodb.cvs
Message-ID <20090802213139.12D4F9415B__47961.4464020871$1249248710$gmane$org@cvs.zope.org>
Log message for revision 102450:
  Placate GCC, which is fooled by the goto.

Changed:
  U   ZODB/trunk/src/BTrees/BucketTemplate.c

-=-
Modified: ZODB/trunk/src/BTrees/BucketTemplate.c
===================================================================
--- ZODB/trunk/src/BTrees/BucketTemplate.c	2009-08-02 21:20:44 UTC (rev 102449)
+++ ZODB/trunk/src/BTrees/BucketTemplate.c	2009-08-02 21:31:38 UTC (rev 102450)
@@ -688,7 +688,7 @@
 Bucket_maxminKey(Bucket *self, PyObject *args, int min)
 {
   PyObject *key=0;
-  int rc, offset;
+  int rc, offset = 0;
   int empty_bucket = 1;
 
   if (args && ! PyArg_ParseTuple(args, "|O", &key)) return NULL;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.