Commit cd98f71b authored by marko's avatar marko

branches/zip: row_merge_read_clustered_index(): Remove a bogus warning

about "row" being possibly uninitialized.
parent 952b4b8d
...@@ -858,7 +858,7 @@ row_merge_read_clustered_index( ...@@ -858,7 +858,7 @@ row_merge_read_clustered_index(
/* Scan the clustered index. */ /* Scan the clustered index. */
for (;;) { for (;;) {
const rec_t* rec; const rec_t* rec;
dtuple_t* row; dtuple_t* row = NULL;
row_ext_t* ext; row_ext_t* ext;
ibool has_next = TRUE; ibool has_next = TRUE;
...@@ -901,7 +901,7 @@ row_merge_read_clustered_index( ...@@ -901,7 +901,7 @@ row_merge_read_clustered_index(
merge_file_t* file = &files[i]; merge_file_t* file = &files[i];
if (UNIV_LIKELY if (UNIV_LIKELY
(has_next && row_merge_buf_add(buf, row, ext))) { (row && row_merge_buf_add(buf, row, ext))) {
continue; continue;
} }
......
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