mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
initialize variable to avoid warning spew
This commit is contained in:
parent
bddbf1a47b
commit
6cb300c0f9
@ -3023,7 +3023,7 @@ private:
|
||||
for (const auto& bcface : bcconfig) {
|
||||
const auto& type = bcface.bctype;
|
||||
if (type == BCType::RATE) {
|
||||
int compIdx;
|
||||
int compIdx = 0;
|
||||
|
||||
switch (bcface.component) {
|
||||
case BCComponent::OIL:
|
||||
|
Loading…
Reference in New Issue
Block a user