Commit fa147843 authored by Marko Mäkelä's avatar Marko Mäkelä

Fix more -Wnonnull-compare

For some reason, GCC 8 did not issue warnings for all such comparisons.
parent c0fca286
...@@ -1087,7 +1087,6 @@ trx_undo_rec_get_partial_row( ...@@ -1087,7 +1087,6 @@ trx_undo_rec_get_partial_row(
const byte* end_ptr; const byte* end_ptr;
ulint row_len; ulint row_len;
ut_ad(ptr);
ut_ad(dict_index_is_clust(index)); ut_ad(dict_index_is_clust(index));
row_len = dict_table_get_n_cols(index->table); row_len = dict_table_get_n_cols(index->table);
......
...@@ -1087,7 +1087,6 @@ trx_undo_rec_get_partial_row( ...@@ -1087,7 +1087,6 @@ trx_undo_rec_get_partial_row(
const byte* end_ptr; const byte* end_ptr;
ulint row_len; ulint row_len;
ut_ad(ptr);
ut_ad(dict_index_is_clust(index)); ut_ad(dict_index_is_clust(index));
row_len = dict_table_get_n_cols(index->table); row_len = dict_table_get_n_cols(index->table);
......
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