1
1

Merge pull request #3161 from rhc54/topic/cov2

Silence Coverity warnings
Этот коммит содержится в:
Ralph Castain 2017-03-14 10:10:11 -07:00 коммит произвёл GitHub
родитель 330b11c8ab 52c9e631de
Коммит 955fa0456d

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

@ -1106,7 +1106,8 @@ static void launch_daemons(int fd, short args, void *cbdata)
true, mca_plm_rsh_component.num_concurrent, map->num_new_daemons);
ORTE_ERROR_LOG(ORTE_ERR_FATAL);
OBJ_RELEASE(state);
return;
rc = ORTE_ERR_SILENT;
goto cleanup;
}
/*
@ -1151,6 +1152,13 @@ static void launch_daemons(int fd, short args, void *cbdata)
}
}
}
if (NULL == node) {
/* this should be impossible, but adding the check will
* silence code checkers that don't know better */
ORTE_ERROR_LOG(ORTE_ERR_NOT_FOUND);
rc = ORTE_ERR_NOT_FOUND;
goto cleanup;
}
/* if we are tree launching, find our children and create the launch cmd */
if (!mca_plm_rsh_component.no_tree_spawn) {