Silence warning
This commit was SVN r26480.
Этот коммит содержится в:
родитель
da28a4b0e6
Коммит
7fb49b1559
@ -1615,11 +1615,6 @@ mca_oob_t* mca_oob_tcp_component_init(int* priority)
|
||||
int mca_oob_tcp_resolve(mca_oob_tcp_peer_t* peer)
|
||||
{
|
||||
mca_oob_tcp_addr_t* addr = NULL;
|
||||
char *host, *haddr=NULL;
|
||||
orte_node_rank_t nrank;
|
||||
struct hostent *h;
|
||||
int port;
|
||||
char *uri;
|
||||
int rc=ORTE_ERR_ADDRESSEE_UNKNOWN;
|
||||
|
||||
/* if the address is already cached - simply return it */
|
||||
@ -1633,6 +1628,13 @@ int mca_oob_tcp_resolve(mca_oob_tcp_peer_t* peer)
|
||||
}
|
||||
|
||||
#if ORTE_ENABLE_STATIC_PORTS
|
||||
{
|
||||
char *host, *haddr=NULL;
|
||||
orte_node_rank_t nrank;
|
||||
struct hostent *h;
|
||||
int port;
|
||||
char *uri;
|
||||
|
||||
/* if we don't know it, and we are using static ports, try
|
||||
* to compute the address and port
|
||||
*/
|
||||
@ -1735,9 +1737,9 @@ int mca_oob_tcp_resolve(mca_oob_tcp_peer_t* peer)
|
||||
free(uri);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
unlock:
|
||||
#endif
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user