Cleanup error - need an "and" instead of an "or"
This commit was SVN r29037.
Этот коммит содержится в:
родитель
f8a72feb25
Коммит
90cfd139cf
@ -220,7 +220,7 @@ int ompi_errhandler_runtime_callback(opal_pointer_array_t *errors) {
|
|||||||
ompi_rte_error_report_t *err;
|
ompi_rte_error_report_t *err;
|
||||||
int errcode = 1;
|
int errcode = 1;
|
||||||
|
|
||||||
if (NULL != errors ||
|
if (NULL != errors &&
|
||||||
(NULL != (err = (ompi_rte_error_report_t*)opal_pointer_array_get_item(errors, 0)))) {
|
(NULL != (err = (ompi_rte_error_report_t*)opal_pointer_array_get_item(errors, 0)))) {
|
||||||
errcode = err->errcode;
|
errcode = err->errcode;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user