1
1
Event uninit_use: Using uninitialized value "rc"
   Instead of initializing rc in the beginning, rather use return value
   of opal_hash_table_set_value_uint32.

This commit was SVN r17976.
Этот коммит содержится в:
Rainer Keller 2008-03-26 11:39:25 +00:00
родитель 33c09b30c2
Коммит ce8154eb3e

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

@ -179,8 +179,8 @@ static int update_route(orte_process_name_t *target,
/* vpid wildcard */
if (target->jobid != ORTE_JOBID_WILDCARD &&
target->vpid == ORTE_VPID_WILDCARD) {
opal_hash_table_set_value_uint32(&vpid_wildcard_list,
target->jobid, route_copy);
rc = opal_hash_table_set_value_uint32(&vpid_wildcard_list,
target->jobid, route_copy);
if (ORTE_SUCCESS != rc) {
ORTE_ERROR_LOG(rc);
}