remove duplicate checks

quells static analyzer warnings
This commit is contained in:
Arne Morten Kvarving 2024-08-16 14:53:46 +02:00
parent ba547c8f8e
commit 6cedcf6a16
3 changed files with 0 additions and 20 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.
*/