1
1

- Fix further compiler warnings regarding initialization

and shadowing variables.

This commit was SVN r13358.
Этот коммит содержится в:
Rainer Keller 2007-01-30 06:34:38 +00:00
родитель dea69e3c7c
Коммит 3669e8921e
6 изменённых файлов: 18 добавлений и 8 удалений

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

@ -5,7 +5,7 @@
* Copyright (c) 2004-2006 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* Copyright (c) 2004-2007 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2006 The Regents of the University of California.
* All rights reserved.
@ -32,9 +32,13 @@ mca_bml_base_module_t mca_bml = {
0, /* bml_max_rdma_size */
NULL, /* bml_add_procs */
NULL, /* bml_del_procs */
NULL, /* bml_add_btl */
NULL, /* bml_del_btl */
NULL, /* bml_del_proc_btl */
NULL, /* bml_register */
NULL, /* bml_register_error */
NULL, /* bml_finalize*/
NULL /* bml_progress */
NULL /* bml_progress */
};
mca_bml_base_component_t mca_bml_component;

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

@ -5,7 +5,7 @@
* Copyright (c) 2004-2006 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* Copyright (c) 2004-2007 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
@ -49,7 +49,7 @@ int mca_pml_base_output = 0;
mca_pml_base_module_t mca_pml = {
NULL, /* pml_add_procs */
NULL, /* pml_del_procs */
NULL, /* pml_control */
NULL, /* pml_enable */
mca_pml_base_progress, /* pml_progress */
NULL, /* pml_add_comm */
NULL, /* pml_del_comm */
@ -61,7 +61,10 @@ mca_pml_base_module_t mca_pml = {
NULL, /* pml_send */
NULL, /* pml_iprobe */
NULL, /* pml_probe */
NULL /* pml_start */
NULL, /* pml_start */
NULL, /* pml_dump */
0, /* pml_max_contextid */
0 /* pml_max_tag */
};
opal_list_t mca_pml_base_components_available;

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

@ -411,7 +411,7 @@ _opal_list_append(l,i)
static inline void _opal_list_append(opal_list_t *list, opal_list_item_t *item
#if OMPI_ENABLE_DEBUG
, char* FILE, int LINENO
, char* FILE_NAME, int LINENO
#endif /* OMPI_ENABLE_DEBUG */
)
{
@ -421,7 +421,7 @@ static inline void _opal_list_append(opal_list_t *list, opal_list_item_t *item
assert(0 == item->opal_list_item_refcount);
assert( NULL == item->opal_list_item_belong_to );
item->super.cls_init_file_name = FILE;
item->super.cls_init_file_name = FILE_NAME;
item->super.cls_init_lineno = LINENO;
#endif

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

@ -159,6 +159,7 @@ static inline bool opal_set_using_threads(bool have)
#if OMPI_HAVE_THREAD_SUPPORT
opal_uses_threads = have;
#else
have = have; /* just shut up the compiler */
opal_uses_threads = false;
#endif
return opal_uses_threads;

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

@ -44,7 +44,8 @@ orte_iof_base_module_t orte_iof_proxy_module = {
orte_iof_proxy_pull,
orte_iof_proxy_subscribe,
orte_iof_proxy_unsubscribe,
orte_iof_base_flush
orte_iof_base_flush,
NULL
};

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

@ -252,6 +252,7 @@ orte_console_command_t console_commands[] = {
/* End of list */
{ NULL, NULL, 0, ORTE_CONSOLE_TYPE_NULL,
NULL,
NULL,
NULL }
};