Remove some compilation warnings.
This commit was SVN r2361.
Этот коммит содержится в:
родитель
f90e1d2628
Коммит
e929014423
@ -17,7 +17,7 @@
|
||||
int ompi_ddt_add( dt_desc_t* pdtBase, dt_desc_t* pdtAdd, unsigned int count, long disp, long extent )
|
||||
{
|
||||
int newLength, place_needed = 0, i;
|
||||
short localFlags;
|
||||
short localFlags = 0; /* no specific options yet */
|
||||
dt_elem_desc_t *pLast, *pLoop = NULL;
|
||||
long lb, ub;
|
||||
|
||||
|
@ -147,7 +147,7 @@ static int ompi_convertor_pack_homogeneous( ompi_convertor_t* pConv,
|
||||
char* pDestBuf;
|
||||
dt_desc_t* pData = pConv->pDesc;
|
||||
dt_elem_desc_t* pElems;
|
||||
int next_length;
|
||||
int next_length = 0;
|
||||
int init_bconvert = pConv->bConverted;
|
||||
|
||||
pDestBuf = iov[0].iov_base;
|
||||
|
@ -171,7 +171,7 @@ static int ompi_convertor_unpack_homogeneous( ompi_convertor_t* pConv,
|
||||
char* pSrcBuf;
|
||||
dt_desc_t* pData = pConv->pDesc;
|
||||
dt_elem_desc_t* pElems;
|
||||
int next_length;
|
||||
int next_length = 0;
|
||||
int init_bconvert = pConv->bConverted;
|
||||
|
||||
pSrcBuf = iov[0].iov_base;
|
||||
@ -478,6 +478,7 @@ int ompi_convertor_init_for_recv( ompi_convertor_t* pConv, unsigned int flags,
|
||||
pConv->flags |= DT_FLAG_CONTIGUOUS;
|
||||
pConv->fAdvance = ompi_convertor_unpack_homogeneous_contig;
|
||||
} else {
|
||||
pConv->fAdvance = ompi_convertor_unpack_general; /* TODO: just tp make the compiler happy */
|
||||
pConv->fAdvance = ompi_convertor_unpack_homogeneous;
|
||||
}
|
||||
ompi_create_stack_with_pos( pConv, starting_point, local_sizes );
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user