List:Commits« Previous MessageNext Message »
From:vasil.dimov Date:November 12 2010 8:02am
Subject:bzr commit into mysql-next-mr-innodb branch (vasil.dimov:3318)
View as plain text  
#At file:///usr/local/devel/bzrroot/server/mysql-next-mr-innodb/ based on revid:calvin.sun@stripped

 3318 Vasil Dimov	2010-11-12
      Fix bogus compiler warning in ibuf0ibuf.c:4062
      
      /export/home/sunny/innodb/next-mr/storage/innobase/ibuf/ibuf0ibuf.c: In function `ibuf_merge_or_delete_for_page':
      /export/home/sunny/innodb/next-mr/storage/innobase/ibuf/ibuf0ibuf.c:4062: warning: 'max_ins_size' might be used uninitialized in this function
      
      Reported by:	Sunny

    modified:
      storage/innobase/ibuf/ibuf0ibuf.c
=== modified file 'storage/innobase/ibuf/ibuf0ibuf.c'
--- a/storage/innobase/ibuf/ibuf0ibuf.c	revid:calvin.sun@stripped
+++ b/storage/innobase/ibuf/ibuf0ibuf.c	revid:vasil.dimov@stripped
@@ -4059,7 +4059,7 @@ ibuf_delete(
 		ulint		offsets_[REC_OFFS_NORMAL_SIZE];
 		ulint*		offsets	= offsets_;
 		mem_heap_t*	heap = NULL;
-		ulint		max_ins_size;
+		ulint		max_ins_size = 0;
 
 		rec_offs_init(offsets_);
 


Attachment: [text/bzr-bundle] bzr/vasil.dimov@oracle.com-20101112080111-kkwv0ruha4hj1kt5.bundle
Thread
bzr commit into mysql-next-mr-innodb branch (vasil.dimov:3318) vasil.dimov12 Nov