mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #4522 from blattms/removed-use-uninit-warnings
[cleanup] Fix that phaseUsage might be used uninitialzed in test.
This commit is contained in:
@@ -52,14 +52,14 @@ namespace Opm
|
||||
std::array<int, MaxNumPhases + NumCryptoPhases> phase_pos;
|
||||
|
||||
int num_phases;
|
||||
bool has_solvent;
|
||||
bool has_polymer;
|
||||
bool has_energy;
|
||||
bool has_solvent{};
|
||||
bool has_polymer{};
|
||||
bool has_energy{};
|
||||
// polymer molecular weight
|
||||
bool has_polymermw;
|
||||
bool has_foam;
|
||||
bool has_brine;
|
||||
bool has_zFraction;
|
||||
bool has_polymermw{};
|
||||
bool has_foam{};
|
||||
bool has_brine{};
|
||||
bool has_zFraction{};
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user