1
1

Quiet a few warnings from Cyrador

This commit was SVN r11686.
Этот коммит содержится в:
Ralph Castain 2006-09-18 12:40:42 +00:00
родитель 40cb5d3e30
Коммит d7e61e40fc
2 изменённых файлов: 5 добавлений и 0 удалений

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

@ -773,6 +773,9 @@ int orte_odls_default_launch_local_procs(orte_gpr_notify_data_t *data)
* the app_context(s), vpid_start, and vpid_range entries. Only one * the app_context(s), vpid_start, and vpid_range entries. Only one
* value object should ever come from that container * value object should ever come from that container
*/ */
/* set the default values to INVALID */
start = ORTE_VPID_INVALID;
range = ORTE_VPID_INVALID;
for (kv=0; kv < value->cnt; kv++) { for (kv=0; kv < value->cnt; kv++) {
kval = value->keyvals[kv]; kval = value->keyvals[kv];
if (strcmp(kval->key, ORTE_JOB_VPID_START_KEY) == 0) { if (strcmp(kval->key, ORTE_JOB_VPID_START_KEY) == 0) {
@ -986,6 +989,7 @@ int orte_odls_default_signal_local_procs(orte_process_name_t *proc, int32_t sign
* of the local procs, so just do that case * of the local procs, so just do that case
*/ */
if (NULL == proc) { if (NULL == proc) {
rc = ORTE_SUCCESS; /* pre-set this as an empty list causes us to drop to bottom */
for (item = opal_list_get_first(&orte_odls_default.children); for (item = opal_list_get_first(&orte_odls_default.children);
item != opal_list_get_end(&orte_odls_default.children); item != opal_list_get_end(&orte_odls_default.children);
item = opal_list_get_next(item)) { item = opal_list_get_next(item)) {

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

@ -223,6 +223,7 @@ int main(int argc, char *argv[])
} }
/* see if they want us to spin until they can connect a debugger to us */ /* see if they want us to spin until they can connect a debugger to us */
i=0;
while (orted_globals.spin) { while (orted_globals.spin) {
i++; i++;
if (1000 < i) i=0; if (1000 < i) i=0;