mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixing unused variable err
This commit is contained in:
parent
31f5ff3f0e
commit
0a7f7e94b7
@ -452,7 +452,7 @@ private:
|
||||
MPI_Comm new_comm;
|
||||
int err = damaris_start(&is_client);
|
||||
isSimulationRank_ = (is_client > 0);
|
||||
if (isSimulationRank_) {
|
||||
if (isSimulationRank_ && (err == DAMARIS_OK || err == DAMARIS_NO_SERVER)) {
|
||||
damaris_client_comm_get(&new_comm);
|
||||
EclGenericVanguard::setCommunication(std::make_unique<Parallel::Communication>(new_comm));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user