mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
branches/zip: page_zip_decompress_node_ptrs(): Remove the local variable
is_clust, to avoid a warning about unused variable when the definition of page_zip_fail() is empty.
This commit is contained in:
parent
189aabfdb3
commit
e525556fe2
1 changed files with 3 additions and 4 deletions
|
@ -2085,15 +2085,14 @@ zlib_done:
|
|||
(page_zip_get_trailer_len(page_zip,
|
||||
dict_index_is_clust(index), NULL)
|
||||
+ page_zip->m_end >= page_zip_get_size(page_zip))) {
|
||||
ulint is_clust = dict_index_is_clust(index);
|
||||
|
||||
page_zip_fail(("page_zip_decompress_node_ptrs:"
|
||||
" %lu + %lu >= %lu, %lu\n",
|
||||
(ulong) page_zip_get_trailer_len(
|
||||
page_zip, is_clust, NULL),
|
||||
page_zip, dict_index_is_clust(index),
|
||||
NULL),
|
||||
(ulong) page_zip->m_end,
|
||||
(ulong) page_zip_get_size(page_zip),
|
||||
(ulong) is_clust));
|
||||
(ulong) dict_index_is_clust(index)));
|
||||
return(FALSE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue