diff --git a/src/p4est_io.c b/src/p4est_io.c index dd0f8e939..d4d66ba95 100644 --- a/src/p4est_io.c +++ b/src/p4est_io.c @@ -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; } }