From 8c7dbcecb3ab21984bfec6044927c18b8e282792 Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Tue, 9 Apr 2024 09:33:57 -0600 Subject: [PATCH] Fix missing initializer in constexpr function. --- include/eosio/vm/parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/eosio/vm/parser.hpp b/include/eosio/vm/parser.hpp index 59ce851..7351145 100644 --- a/include/eosio/vm/parser.hpp +++ b/include/eosio/vm/parser.hpp @@ -355,7 +355,7 @@ namespace eosio { namespace vm { } static constexpr auto make_section_order() { - std::array result; + std::array result{}; std::uint8_t i = 1; for (std::uint8_t sec : {type_section, import_section, function_section, table_section, memory_section, global_section, export_section, start_section, element_section, data_count_section, code_section, data_section}) { result[sec] = i++;