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

Fix clang -Wunused-but-set-variable

parent 39478409
......@@ -987,9 +987,16 @@ buf_dblwr_flush_buffered_writes()
write_buf = buf_dblwr->write_buf;
for (ulint len2 = 0, i = 0;
for (ulint
#if defined(UNIV_DEBUG) || !defined(DBUG_OFF)
len2 = 0,
#endif
i = 0;
i < buf_dblwr->first_free;
len2 += srv_page_size, i++) {
#if defined(UNIV_DEBUG) || !defined(DBUG_OFF)
len2 += srv_page_size,
#endif
i++) {
const buf_block_t* block;
......
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