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

 3566 Vasil Dimov	2010-09-14
      (partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
      
      Fix compiler warning:
      que/que0que.c: In function 'que_thr_dec_refer_count':
      que/que0que.c:805:11: error: variable 'sess' set but not used [-Werror=unused-but-set-variable]

    modified:
      storage/innobase/que/que0que.c
=== modified file 'storage/innobase/que/que0que.c'
--- a/storage/innobase/que/que0que.c	revid:vasil.dimov@stripped
+++ b/storage/innobase/que/que0que.c	revid:vasil.dimov@stripped
@@ -802,13 +802,11 @@ que_thr_dec_refer_count(
 {
 	que_fork_t*	fork;
 	trx_t*		trx;
-	sess_t*		sess;
 	ulint		fork_type;
 	ibool		stopped;
 
 	fork = thr->common.parent;
 	trx = thr_get_trx(thr);
-	sess = trx->sess;
 
 	mutex_enter(&kernel_mutex);
 


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