mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
branches/zip: buf_flush_block_cmp(): Do not mix declarations and code.
Stick to C90, because some build platforms are not C99 yet.
This commit is contained in:
parent
0499a0e1eb
commit
01f991351c
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue