1
1

Silence warning when CR is not enabled

This commit was SVN r31025.
Этот коммит содержится в:
Ralph Castain 2014-03-12 13:47:03 +00:00
родитель 90903813b1
Коммит a254d2db34

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

@ -90,7 +90,10 @@ static char* component_get_addr(void);
static int component_set_addr(orte_process_name_t *peer,
char **uris);
static bool component_is_reachable(orte_process_name_t *peer);
#if OPAL_ENABLE_FT_CR == 1
static int component_ft_event(int state);
#endif
/*
* Struct of function pointers and all that to let us be initialized
*/
@ -119,8 +122,11 @@ mca_oob_tcp_component_t mca_oob_tcp_component = {
component_send,
component_get_addr,
component_set_addr,
component_is_reachable,
component_is_reachable
#if OPAL_ENABLE_FT_CR == 1
,
component_ft_event
#endif
},
};
@ -1080,6 +1086,7 @@ static bool component_is_reachable(orte_process_name_t *peer)
return true;
}
#if OPAL_ENABLE_FT_CR == 1
static int component_ft_event(int state)
{
mca_oob_tcp_module_t *mod;
@ -1099,6 +1106,7 @@ static int component_ft_event(int state)
return ORTE_SUCCESS;
}
#endif
/*
* Create a module instance and add to modules array.