Skip to content

Commit

Permalink
Fix GCC 6.3.0 warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Feb 16, 2017
1 parent 6011fb6 commit 01d5d6d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions storage/innobase/fsp/fsp0fsp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2801,6 +2801,7 @@ fsp_reserve_free_extents(
}
} else {
ut_a(alloc_type == FSP_CLEANING);
reserve = 0;
}

success = fil_space_reserve_free_extents(space, n_free, n_ext);
Expand Down
4 changes: 0 additions & 4 deletions storage/innobase/row/row0ftsort.cc
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,6 @@ fts_parallel_tokenization(
mem_heap_t* blob_heap = NULL;
fts_doc_t doc;
dict_table_t* table = psort_info->psort_common->new_table;
dict_field_t* idx_field;
fts_tokenize_ctx_t t_ctx;
ulint retried = 0;
dberr_t error = DB_SUCCESS;
Expand All @@ -642,9 +641,6 @@ fts_parallel_tokenization(
doc.charset = fts_index_get_charset(
psort_info->psort_common->dup->index);

idx_field = dict_index_get_nth_field(
psort_info->psort_common->dup->index, 0);

block = psort_info->merge_block;
zip_size = dict_table_zip_size(table);

Expand Down
1 change: 1 addition & 0 deletions storage/xtradb/fsp/fsp0fsp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2810,6 +2810,7 @@ fsp_reserve_free_extents(
}
} else {
ut_a(alloc_type == FSP_CLEANING);
reserve = 0;
}

success = fil_space_reserve_free_extents(space, n_free, n_ext);
Expand Down

0 comments on commit 01d5d6d

Please sign in to comment.