List:Commits« Previous MessageNext Message »
From:vasil.dimov Date:September 14 2010 12:21pm
Subject:bzr commit into mysql-5.1-innodb branch (vasil.dimov:3574) Bug#55227
View as plain text  
#At file:///usr/local/devel/bzrroot/server/mysql-5.1-innodb/ based on revid:vasil.dimov@stripped

 3574 Vasil Dimov	2010-09-14
      (partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
      
      Fix compiler warnings:
      trx/trx0roll.c: In function 'trx_undo_arr_remove_info':
      trx/trx0roll.c:717:9: error: variable 'n' set but not used [-Werror=unused-but-set-variable]
      trx/trx0roll.c:716:9: error: variable 'n_used' set but not used [-Werror=unused-but-set-variable]

    modified:
      storage/innobase/trx/trx0roll.c
=== modified file 'storage/innobase/trx/trx0roll.c'
--- a/storage/innobase/trx/trx0roll.c	revid:vasil.dimov@stripped
+++ b/storage/innobase/trx/trx0roll.c	revid:vasil.dimov@stripped
@@ -713,13 +713,8 @@ trx_undo_arr_remove_info(
 	dulint		undo_no)/* in: undo number */
 {
 	trx_undo_inf_t*	cell;
-	ulint		n_used;
-	ulint		n;
 	ulint		i;
 
-	n_used = arr->n_used;
-	n = 0;
-
 	for (i = 0;; i++) {
 		cell = trx_undo_arr_get_nth_info(arr, i);
 


Attachment: [text/bzr-bundle] bzr/vasil.dimov@oracle.com-20100914122132-s335hvzul7jxpler.bundle
Thread
bzr commit into mysql-5.1-innodb branch (vasil.dimov:3574) Bug#55227vasil.dimov14 Sep