From e525556fe2bf99776406e5c37880717bd83cc31e Mon Sep 17 00:00:00 2001 From: marko <> Date: Thu, 13 Dec 2007 12:45:43 +0000 Subject: [PATCH] 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. --- page/page0zip.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/page/page0zip.c b/page/page0zip.c index 190818bb5a7..fc3a72b410f 100644 --- a/page/page0zip.c +++ b/page/page0zip.c @@ -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); }