mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 10:21:54 -06:00
#10191 Return ECLIPSE_UNDEFINED without crashing
This commit is contained in:
parent
bb0ae9e381
commit
c9839fcf93
3
ThirdParty/Ert/lib/ecl/ecl_file.cpp
vendored
3
ThirdParty/Ert/lib/ecl/ecl_file.cpp
vendored
@ -798,8 +798,7 @@ ecl_version_enum ecl_file_get_ecl_version( const ecl_file_type * file ) {
|
|||||||
if (int_value == INTEHEAD_FRONTSIM_VALUE)
|
if (int_value == INTEHEAD_FRONTSIM_VALUE)
|
||||||
return FRONTSIM;
|
return FRONTSIM;
|
||||||
|
|
||||||
util_abort("%s: Simulator version value:%d not recognized \n",__func__ , int_value );
|
return ECLIPSE_UNDEFINED;
|
||||||
return (ecl_version_enum)0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user