Indentation + set the maximum amount of data packed/unpacked to zero if we call the convertor after
we finish the conversion. This commit was SVN r4112.
Этот коммит содержится в:
@ -227,6 +227,7 @@ static inline int32_t ompi_convertor_pack( ompi_convertor_t* pConv,
|
||||
if( pConv->bConverted == (pConv->pDesc->size * pConv->count) ) {
|
||||
iov[0].iov_len = 0;
|
||||
*out_size = 0;
|
||||
*max_data = 0;
|
||||
return 1; /* nothing to do */
|
||||
}
|
||||
|
||||
@ -247,6 +248,7 @@ static inline int32_t ompi_convertor_unpack( ompi_convertor_t* pConv,
|
||||
/* protect against over unpacking data */
|
||||
if( pConv->bConverted == (pData->size * pConv->count) ) {
|
||||
iov[0].iov_len = 0;
|
||||
out_size = 0;
|
||||
*max_data = 0;
|
||||
return 1; /* nothing to do */
|
||||
}
|
||||
|
Ссылка в новой задаче
Block a user