Skip to content

Commit

Permalink
Merge pull request #241 from tim-griesbach/feature-mpi-errcodes
Browse files Browse the repository at this point in the history
p4est_file: Accept new MPI error codes
  • Loading branch information
cburstedde authored Oct 2, 2023
2 parents d8e4aa9 + f1b9d10 commit 0907e3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/p4est_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -1815,9 +1815,9 @@ p4est_file_error_code (int errcode, int *p4est_errcode)
return P4EST_FILE_ERR_SUCCESS;

default:
/* errcode is not a valid error code */
SC_ABORT_NOT_REACHED ();
break;
/* errcode may be MPI version 1.1 error code */
*p4est_errcode = P4EST_FILE_ERR_UNKNOWN;
return P4EST_FILE_ERR_SUCCESS;
}
}

Expand Down

0 comments on commit 0907e3e

Please sign in to comment.