Avoid false positives in bcheck/valgrind -- there are holes in the
mca_base_param_t struct, and it eventually ends up getting memcpy()'ed This commit was SVN r8642.
Этот коммит содержится в:
родитель
d9ec36c5fe
Коммит
c3cc1d5bbc
@ -795,6 +795,9 @@ static int param_register(const char *type_name,
|
||||
size_t i, len;
|
||||
mca_base_param_t param, *array;
|
||||
|
||||
/* There are data holes in the param struct */
|
||||
OMPI_DEBUG_ZERO(param);
|
||||
|
||||
/* Initialize the array if it has never been initialized */
|
||||
|
||||
if (!initialized) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user