diff --git a/storage/innobase/gis/gis0rtree.cc b/storage/innobase/gis/gis0rtree.cc index dde8f92a54b57..a9c30ae2a38e4 100644 --- a/storage/innobase/gis/gis0rtree.cc +++ b/storage/innobase/gis/gis0rtree.cc @@ -750,7 +750,6 @@ rtr_adjust_upper_level( mem_heap_free(heap); - /* Get the previous and next pages of page */ const uint32_t next_page_no = btr_page_get_next(page); if (next_page_no != FIL_NULL) {