Add OMPI_DEBUG_ZERO to a struct so that valgrind doesn't complain when
looking for memory errors (i.e., it's ok for some fields to be uninitialized when memcpy'ing the data) This commit was SVN r8640.
Этот коммит содержится в:
родитель
63d0438991
Коммит
d9ec36c5fe
@ -205,6 +205,7 @@ static int opal_ifinit(void)
|
|||||||
opal_if_t *intf_ptr;
|
opal_if_t *intf_ptr;
|
||||||
int length;
|
int length;
|
||||||
|
|
||||||
|
OMPI_DEBUG_ZERO(intf);
|
||||||
OBJ_CONSTRUCT(&intf, opal_list_item_t);
|
OBJ_CONSTRUCT(&intf, opal_list_item_t);
|
||||||
|
|
||||||
/* compute offset for entries */
|
/* compute offset for entries */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user