Since it's not an error to not have an mpool module (at least not
yet), guarantee to initialize the *allow_multi_user_threads so that we don't get read-from-uninitialized warnings in valgrind. This commit was SVN r1446.
Этот коммит содержится в:
родитель
8f98c8a986
Коммит
952cbaf196
@ -32,6 +32,10 @@ int mca_mpool_base_init(bool *allow_multi_user_threads)
|
||||
mca_mpool_t *module;
|
||||
mca_mpool_base_selected_module_t *sm;
|
||||
|
||||
/* Default to true in case there's no modules selected */
|
||||
|
||||
*allow_multi_user_threads = true;
|
||||
|
||||
/* Traverse the list of available modules; call their init
|
||||
functions. */
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user