1
1

- Help the compiler, by noting that errors are unlikely.

This commit was SVN r19138.
Этот коммит содержится в:
Rainer Keller 2008-08-04 14:50:27 +00:00
родитель 381d10833a
Коммит 4712a73db5

Просмотреть файл

@ -239,7 +239,7 @@ struct ompi_request_t;
*/
#define OMPI_ERRHANDLER_RETURN(rc, mpi_object, err_code, message) \
OPAL_CR_EXIT_LIBRARY() \
if (rc != OMPI_SUCCESS) { \
if ( OPAL_UNLIKELY(OMPI_SUCCESS != rc) ) { \
int __mpi_err_code = (err_code < 0 ? (ompi_errcode_get_mpi_code(err_code)) : err_code); \
ompi_errhandler_invoke((mpi_object)->error_handler, \
(mpi_object), \