Skip to content

Commit 01d5d6d

Browse files
committed
Fix GCC 6.3.0 warnings.
1 parent 6011fb6 commit 01d5d6d

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

storage/innobase/fsp/fsp0fsp.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2801,6 +2801,7 @@ fsp_reserve_free_extents(
28012801
}
28022802
} else {
28032803
ut_a(alloc_type == FSP_CLEANING);
2804+
reserve = 0;
28042805
}
28052806

28062807
success = fil_space_reserve_free_extents(space, n_free, n_ext);

storage/innobase/row/row0ftsort.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,6 @@ fts_parallel_tokenization(
620620
mem_heap_t* blob_heap = NULL;
621621
fts_doc_t doc;
622622
dict_table_t* table = psort_info->psort_common->new_table;
623-
dict_field_t* idx_field;
624623
fts_tokenize_ctx_t t_ctx;
625624
ulint retried = 0;
626625
dberr_t error = DB_SUCCESS;
@@ -642,9 +641,6 @@ fts_parallel_tokenization(
642641
doc.charset = fts_index_get_charset(
643642
psort_info->psort_common->dup->index);
644643

645-
idx_field = dict_index_get_nth_field(
646-
psort_info->psort_common->dup->index, 0);
647-
648644
block = psort_info->merge_block;
649645
zip_size = dict_table_zip_size(table);
650646

storage/xtradb/fsp/fsp0fsp.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2810,6 +2810,7 @@ fsp_reserve_free_extents(
28102810
}
28112811
} else {
28122812
ut_a(alloc_type == FSP_CLEANING);
2813+
reserve = 0;
28132814
}
28142815

28152816
success = fil_space_reserve_free_extents(space, n_free, n_ext);

0 commit comments

Comments
 (0)