ebos: fix a compiler warning about a missing case in a switch statement

This commit is contained in:
Andreas Lauser 2016-10-12 18:25:58 +02:00
parent 460f839a80
commit 1196ac5937

View File

@ -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.";