Default init labels and use initializer list for macro engine

This commit is contained in:
David Marcec 2020-06-04 22:23:07 +10:00
parent 411f5527d4
commit eca3d16e54
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@ private:
std::optional<Macro::Opcode> next_opcode{};
ProgramType program{nullptr};
std::array<Xbyak::Label, MAX_CODE_SIZE> labels;
std::array<Xbyak::Label, MAX_CODE_SIZE> labels{};
std::array<Xbyak::Label, MAX_CODE_SIZE> delay_skip{};
Xbyak::Label end_of_code{};