Skip to content

Commit d016581

Browse files
committed
Initialize all common symbols.
1 parent 004c0cc commit d016581

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

opal/mca/btl/tcp/btl_tcp_component.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,10 @@ opal_event_base_t* mca_btl_tcp_event_base = NULL;
9595
#if MCA_BTL_TCP_SUPPORT_PROGRESS_THREAD
9696
int mca_btl_tcp_progress_thread_trigger = -1;
9797
int mca_btl_tcp_pipe_to_progress[2] = { -1, -1 };
98-
static opal_thread_t mca_btl_tcp_progress_thread;
99-
opal_list_t mca_btl_tcp_ready_frag_pending_queue;
100-
opal_mutex_t mca_btl_tcp_ready_frag_mutex;
98+
static opal_thread_t mca_btl_tcp_progress_thread = { { 0 } };
99+
opal_list_t mca_btl_tcp_ready_frag_pending_queue = { { 0 } };
100+
opal_mutex_t mca_btl_tcp_ready_frag_mutex = OPAL_MUTEX_STATIC_INIT;
101101
#endif /* MCA_BTL_TCP_SUPPORT_PROGRESS_THREAD */
102-
static char *mca_btl_tcp_if_seq_string;
103102

104103
mca_btl_tcp_component_t mca_btl_tcp_component = {
105104
.super = {

0 commit comments

Comments
 (0)