diff --git a/ompi/mca/bml/r2/bml_r2.c b/ompi/mca/bml/r2/bml_r2.c index 5a2e6b6502..362bb8a703 100644 --- a/ompi/mca/bml/r2/bml_r2.c +++ b/ompi/mca/bml/r2/bml_r2.c @@ -361,7 +361,7 @@ static int mca_bml_r2_add_proc (struct ompi_proc_t *proc) { mca_bml_base_endpoint_t *bml_endpoint; /* at least one btl is in use */ - bool btl_in_use; + bool btl_in_use = false; int rc; if (OPAL_UNLIKELY(NULL == proc)) {