Merge pull request #71 from bska/parser-suppress-warning
Suppress warning about unused variable in !HAVE_ERT case.
This commit is contained in:
commit
b7a4f95716
@ -1130,6 +1130,7 @@ void EclipseGridParser::getNumericErtFields(const string& filename)
|
||||
}
|
||||
ecl_file_close(ecl_file);
|
||||
#else
|
||||
static_cast<void>(filename); // Suppress "unused variable" warning.
|
||||
THROW("Cannot use IMPORT keyword without ert library support. Reconfigure opm-core with --with-ert and recompile.");
|
||||
#endif // HAVE_ERT
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user