Merge pull request #5311 from blattms/fix/uninit-warn

Fixes uninitialized variable warning with gcc-12
This commit is contained in:
Bård Skaflestad
2024-04-25 10:34:05 +02:00
committed by GitHub

View File

@@ -2344,7 +2344,7 @@ namespace Opm
{
const int max_iter = this->param_.max_inner_iter_wells_;
int it = 0;
bool converged;
bool converged = false;
bool relax_convergence = false;
this->regularize_ = false;
const auto& summary_state = simulator.vanguard().summaryState();