Move a data declaration down the stack.
This commit was SVN r20552.
Этот коммит содержится в:
родитель
91d302fd67
Коммит
fa7b499519
@ -1,8 +1,9 @@
|
|||||||
|
/* -*- Mode: C; c-basic-offset:4 ; -*- */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
||||||
* University Research and Technology
|
* University Research and Technology
|
||||||
* Corporation. All rights reserved.
|
* Corporation. All rights reserved.
|
||||||
* Copyright (c) 2004-2005 The University of Tennessee and The University
|
* Copyright (c) 2004-2009 The University of Tennessee and The University
|
||||||
* of Tennessee Research Foundation. All rights
|
* of Tennessee Research Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
* Copyright (c) 2004-2009 High Performance Computing Center Stuttgart,
|
* Copyright (c) 2004-2009 High Performance Computing Center Stuttgart,
|
||||||
@ -894,7 +895,6 @@ int orte_grpcomm_base_update_modex_entries(orte_process_name_t *proc_name,
|
|||||||
int rc = ORTE_SUCCESS;
|
int rc = ORTE_SUCCESS;
|
||||||
orte_std_cntr_t num_recvd_entries;
|
orte_std_cntr_t num_recvd_entries;
|
||||||
orte_std_cntr_t cnt;
|
orte_std_cntr_t cnt;
|
||||||
void *bytes = NULL;
|
|
||||||
orte_std_cntr_t j;
|
orte_std_cntr_t j;
|
||||||
|
|
||||||
/* look up the modex data structure */
|
/* look up the modex data structure */
|
||||||
@ -925,6 +925,7 @@ int orte_grpcomm_base_update_modex_entries(orte_process_name_t *proc_name,
|
|||||||
*/
|
*/
|
||||||
for (j = 0; j < num_recvd_entries; j++) {
|
for (j = 0; j < num_recvd_entries; j++) {
|
||||||
size_t num_bytes;
|
size_t num_bytes;
|
||||||
|
void *bytes = NULL;
|
||||||
char *attr_name;
|
char *attr_name;
|
||||||
|
|
||||||
cnt = 1;
|
cnt = 1;
|
||||||
@ -950,8 +951,6 @@ int orte_grpcomm_base_update_modex_entries(orte_process_name_t *proc_name,
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
num_bytes = cnt;
|
num_bytes = cnt;
|
||||||
} else {
|
|
||||||
bytes = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user