Skip to content

Commit 286e52e

Browse files
committed
After-merge fix: GCC -Wmaybe-uninitialized
1 parent 680463a commit 286e52e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/innobase/page/page0page.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved.
44
Copyright (c) 2012, Facebook Inc.
5-
Copyright (c) 2017, 2019, MariaDB Corporation.
5+
Copyright (c) 2017, 2020, MariaDB Corporation.
66
77
This program is free software; you can redistribute it and/or modify it under
88
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)
24092409
const rec_t* rec;
24102410
const rec_t* old_rec = NULL;
24112411
const rec_t* first_rec = NULL;
2412-
ulint offs;
2412+
ulint offs = 0;
24132413
ulint n_slots;
24142414
ibool ret = TRUE;
24152415
ulint i;

0 commit comments

Comments
 (0)