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:
@@ -3023,7 +3023,7 @@ private:
|
|||||||
for (const auto& bcface : bcconfig) {
|
for (const auto& bcface : bcconfig) {
|
||||||
const auto& type = bcface.bctype;
|
const auto& type = bcface.bctype;
|
||||||
if (type == BCType::RATE) {
|
if (type == BCType::RATE) {
|
||||||
int compIdx;
|
int compIdx = 0;
|
||||||
|
|
||||||
switch (bcface.component) {
|
switch (bcface.component) {
|
||||||
case BCComponent::OIL:
|
case BCComponent::OIL:
|
||||||
|
|||||||
Reference in New Issue
Block a user