mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-09 16:03:02 -06:00
ebos: fix a compiler warning about a missing case in a switch statement
This commit is contained in:
parent
460f839a80
commit
1196ac5937
@ -294,6 +294,8 @@ public:
|
||||
OPM_THROW(std::runtime_error,
|
||||
"Not implemented: Well groups");
|
||||
|
||||
case Opm::WellProducer::NONE:
|
||||
// fall-through
|
||||
case Opm::WellProducer::CMODE_UNDEFINED:
|
||||
std::cout << "Warning: Control mode of production well " << well->name()
|
||||
<< " is undefined. Assuming well to be shut.";
|
||||
|
Loading…
Reference in New Issue
Block a user