[Zodb-checkins] SVN: ZODB/trunk/src/BTrees/BucketTemplate.c Placate GCC, which is fooled by the goto.

Tres Seaver tseaver at palladion.com
Sun Aug 2 17:31:39 EDT 2009


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;



More information about the Zodb-checkins mailing list