From d6707ab11f65aec04014bb5a550324eba6ae0200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Tue, 18 Oct 2022 10:29:15 +0300 Subject: [PATCH] MDEV-29753 fixup: Silence bogus GCC -Og -Wmaybe-uninitialized --- sql/table.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/table.cc b/sql/table.cc index 1d0edf88fb7..d6d68988a52 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -8170,7 +8170,7 @@ int TABLE::update_virtual_field(Field *vf, bool ignore_warnings) Counting_error_handler count_errors; Suppress_warnings_error_handler warning_handler; in_use->push_internal_handler(&count_errors); - bool abort_on_warning; + bool abort_on_warning= ignore_warnings; if (ignore_warnings) { abort_on_warning= in_use->abort_on_warning;