1
1

pmix_base_frame: use the "= { 0 }" initializer

Per open-mpi/ompi#381, convert the specific intialization of opal_pmix
to use the generic "= { 0 }" initializer.  This form can be used to
initialize any type when the intent is just to zero out / assign
*some* value.
Этот коммит содержится в:
Jeff Squyres 2015-02-05 17:49:36 -05:00
родитель ffe891a460
Коммит 0dbbffb753

Просмотреть файл

@ -30,9 +30,7 @@
/* Note that this initializer is important -- do not remove it! See
https://github.com/open-mpi/ompi/issues/375 for details. */
opal_pmix_base_module_t opal_pmix = {
.init = (opal_pmix_base_module_init_fn_t) NULL
};
opal_pmix_base_module_t opal_pmix = { 0 };
bool opal_pmix_use_collective = false;
bool opal_pmix_base_allow_delayed_server = false;