mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-18 09:05:11 -05:00
#10191 Return ECLIPSE_UNDEFINED without crashing
This commit is contained in:
Vendored
+1
-2
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user