mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-28 18:01:08 -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)
|
||||
return FRONTSIM;
|
||||
|
||||
util_abort("%s: Simulator version value:%d not recognized \n",__func__ , int_value );
|
||||
return (ecl_version_enum)0;
|
||||
return ECLIPSE_UNDEFINED;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user