Commit 01f99135 authored by mmakela's avatar mmakela

branches/zip: buf_flush_block_cmp(): Do not mix declarations and code.

Stick to C90, because some build platforms are not C99 yet.
parent 0499a0e1
......@@ -153,12 +153,14 @@ buf_flush_block_cmp(
const void* p2) /*!< in: block2 */
{
int ret;
const buf_page_t* b1;
const buf_page_t* b2;
ut_ad(p1 != NULL);
ut_ad(p2 != NULL);
const buf_page_t* b1 = *(const buf_page_t**) p1;
const buf_page_t* b2 = *(const buf_page_t**) p2;
b1 = *(const buf_page_t**) p1;
b2 = *(const buf_page_t**) p2;
ut_ad(b1 != NULL);
ut_ad(b2 != NULL);
......
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