From 286e52e948eee9e5f908c5944467149df35d25e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Fri, 5 Jun 2020 17:45:27 +0300 Subject: After-merge fix: GCC -Wmaybe-uninitialized --- storage/innobase/page/page0page.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'storage/innobase/page/page0page.cc') diff --git a/storage/innobase/page/page0page.cc b/storage/innobase/page/page0page.cc index c9a51ed7bce..ba2e08df2d2 100644 --- a/storage/innobase/page/page0page.cc +++ b/storage/innobase/page/page0page.cc @@ -2,7 +2,7 @@ Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved. Copyright (c) 2012, Facebook Inc. -Copyright (c) 2017, 2019, MariaDB Corporation. +Copyright (c) 2017, 2020, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -2409,7 +2409,7 @@ bool page_validate(const page_t* page, const dict_index_t* index) const rec_t* rec; const rec_t* old_rec = NULL; const rec_t* first_rec = NULL; - ulint offs; + ulint offs = 0; ulint n_slots; ibool ret = TRUE; ulint i; -- cgit v1.2.1