Skip to content

Commit 346c8a0

Browse files
committed
Fix recently introduced Clang build warnings.
1 parent f9d7b83 commit 346c8a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/innobase/row/row0ins.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1563,7 +1563,7 @@ row_ins_check_foreign_constraint(
15631563
{
15641564
dberr_t err;
15651565
upd_node_t* upd_node;
1566-
dict_table_t* check_table;
1566+
dict_table_t* check_table = nullptr;
15671567
dict_index_t* check_index;
15681568
ulint n_fields_cmp;
15691569
btr_pcur_t pcur;
@@ -1578,7 +1578,7 @@ row_ins_check_foreign_constraint(
15781578
MDL_ticket* mdl = nullptr;
15791579
THD* thd = current_thd;
15801580
bool tmp_open = false;
1581-
dict_foreign_t* tmp_foreign;
1581+
dict_foreign_t* tmp_foreign = nullptr;
15821582

15831583

15841584
/* GAP locks are not needed on DD tables because serializability between different

0 commit comments

Comments
 (0)