Skip to content

Commit

Permalink
HIR Const Eval - Fix uninitialised variable leading to random failure…
Browse files Browse the repository at this point in the history
…s with newer GCC versions (Fixes #346)
  • Loading branch information
thepowersgang committed Dec 16, 2024
1 parent b3266f9 commit ddd2642
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hir_conv/constant_evaluation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3099,6 +3099,7 @@ namespace {
, m_recurse_types(false)
, m_impl_params(nullptr)
, m_item_params(nullptr)
, m_pass(Pass::OuterOnly)
{}

::HIR::Evaluator get_eval(const Span& sp, NewvalState& nvs) const
Expand Down

0 comments on commit ddd2642

Please sign in to comment.