Commit 5817db33 authored by marko's avatar marko

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

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