mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
(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]
This commit is contained in:
parent
52dc49e4ef
commit
4a4c7b9275
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue