Resolve Coverity CID 467: remove unused variable / dead code.
This commit was SVN r15997.
Этот коммит содержится в:
родитель
f08cce16db
Коммит
c4a38f47f6
@ -230,7 +230,6 @@ int mca_coll_hierarch_module_enable (mca_coll_base_module_1_1_0_t *module,
|
|||||||
{
|
{
|
||||||
int color;
|
int color;
|
||||||
int size, rank, ret=OMPI_SUCCESS;
|
int size, rank, ret=OMPI_SUCCESS;
|
||||||
int *llr=NULL;
|
|
||||||
|
|
||||||
struct ompi_communicator_t *lcomm=NULL;
|
struct ompi_communicator_t *lcomm=NULL;
|
||||||
struct ompi_communicator_t *llcomm=NULL;
|
struct ompi_communicator_t *llcomm=NULL;
|
||||||
@ -293,9 +292,6 @@ int mca_coll_hierarch_module_enable (mca_coll_base_module_1_1_0_t *module,
|
|||||||
}
|
}
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
if ( NULL != llr ) {
|
|
||||||
free ( llr );
|
|
||||||
}
|
|
||||||
if ( OMPI_SUCCESS != ret ) {
|
if ( OMPI_SUCCESS != ret ) {
|
||||||
ompi_comm_free ( &lcomm );
|
ompi_comm_free ( &lcomm );
|
||||||
return OMPI_ERROR;
|
return OMPI_ERROR;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user