diff --git a/test/threads/opal_condition.c b/test/threads/opal_condition.c index 5850ab501e..17703a0c6b 100644 --- a/test/threads/opal_condition.c +++ b/test/threads/opal_condition.c @@ -45,9 +45,9 @@ int main(int argc, char *argv[]) /* Only have the body of this test if we have thread support */ -opal_mutex_t mutex; -opal_condition_t thr1_cond; -opal_condition_t thr2_cond; +opal_mutex_t mutex = {}; +opal_condition_t thr1_cond = {}; +opal_condition_t thr2_cond = {}; static volatile int thr1_count = 0; static volatile int thr2_count = 0;