Commit 18c2f25c authored by Vasil Dimov's avatar Vasil Dimov

(partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6

Fix compiler warning:
dict/dict0crea.c: In function 'dict_create_index_tree_step':
dict/dict0crea.c:630:16: error: variable 'table' set but not used [-Werror=unused-but-set-variable]
parent c1bd1a8d
...@@ -627,7 +627,6 @@ dict_create_index_tree_step( ...@@ -627,7 +627,6 @@ dict_create_index_tree_step(
{ {
dict_index_t* index; dict_index_t* index;
dict_table_t* sys_indexes; dict_table_t* sys_indexes;
dict_table_t* table;
dtuple_t* search_tuple; dtuple_t* search_tuple;
ulint zip_size; ulint zip_size;
btr_pcur_t pcur; btr_pcur_t pcur;
...@@ -636,7 +635,6 @@ dict_create_index_tree_step( ...@@ -636,7 +635,6 @@ dict_create_index_tree_step(
ut_ad(mutex_own(&(dict_sys->mutex))); ut_ad(mutex_own(&(dict_sys->mutex)));
index = node->index; index = node->index;
table = node->table;
sys_indexes = dict_sys->sys_indexes; sys_indexes = dict_sys->sys_indexes;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment