mirror of
https://github.com/OPM/opm-upscaling.git
synced 2025-02-25 18:45:23 -06:00
remove duplicate checks
quells static analyzer warnings
This commit is contained in:
parent
ba547c8f8e
commit
6cedcf6a16
@ -160,13 +160,6 @@ try
|
||||
// Reference: http://www.spe.org/spe-site/spe/spe/papers/authors/Metric_Standard.pdf
|
||||
|
||||
|
||||
/* Check first if there is anything on the command line to look for */
|
||||
if (varnum == 1) {
|
||||
cout << "Error: No Eclipsefile or stonefiles found on command line." << endl;
|
||||
usageandexit();
|
||||
}
|
||||
|
||||
|
||||
/* Loop over all command line options in order to look
|
||||
for options.
|
||||
|
||||
|
@ -214,12 +214,6 @@ try
|
||||
if found, replace default values with command line values.
|
||||
*/
|
||||
|
||||
/* Check first if there is anything on the command line to look for */
|
||||
if (varnum == 1) {
|
||||
if (isMaster) cout << "Error: No Eclipsefile or J-functions found on command line." << endl;
|
||||
usageandexit();
|
||||
}
|
||||
|
||||
/* Loop over all command line options in order to look
|
||||
for options.
|
||||
|
||||
|
@ -470,13 +470,6 @@ try
|
||||
*/
|
||||
auto options = defineOptions();
|
||||
|
||||
/* Check first if there is anything on the command line to look for */
|
||||
if (varnum == 1) {
|
||||
if (mpi_rank == 0)
|
||||
cout << "Error: No Eclipsefile or stonefiles found on command line." << endl;
|
||||
usageandexit();
|
||||
}
|
||||
|
||||
/*
|
||||
'argeclindex' is so that vararg[argeclindex] = the eclipse filename.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user