1
1

Fix some compiler warnings that have slipped in lately...

This commit was SVN r13037.
Этот коммит содержится в:
Brian Barrett 2007-01-08 17:20:09 +00:00
родитель a34e67d743
Коммит e130f18cc2
3 изменённых файлов: 4 добавлений и 2 удалений

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

@ -87,7 +87,7 @@ int mca_btl_openib_add_procs(
int i,j, rc; int i,j, rc;
int remote_subnets; int remote_subnets;
int local_subnets; int local_subnets;
int btl_rank; int btl_rank = 0;
for(i = 0; i < (int) nprocs; i++) { for(i = 0; i < (int) nprocs; i++) {
struct ompi_proc_t* ompi_proc = ompi_procs[i]; struct ompi_proc_t* ompi_proc = ompi_procs[i];

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

@ -79,7 +79,9 @@ static int debug_output = -1;
int int
opal_progress_init(void) opal_progress_init(void)
{ {
#if OMPI_ENABLE_DEBUG
int param, value; int param, value;
#endif
/* reentrant issues */ /* reentrant issues */
#if OMPI_HAVE_THREAD_SUPPORT #if OMPI_HAVE_THREAD_SUPPORT

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

@ -234,7 +234,7 @@ static int orte_ras_gridengine_discover(opal_list_t* nodelist,
item != opal_list_get_end(nodelist); item != opal_list_get_end(nodelist);
item = opal_list_get_next(item)) { item = opal_list_get_next(item)) {
orte_ras_node_t *node = (orte_ras_node_t*)item; orte_ras_node_t *node = (orte_ras_node_t*)item;
int remain_slot_cnt; int remain_slot_cnt = 0;
opal_output(mca_ras_gridengine_component.verbose, opal_output(mca_ras_gridengine_component.verbose,
"ras:gridengine: %s: checking gpr key", node->node_name); "ras:gridengine: %s: checking gpr key", node->node_name);