Commit 7836ec75 authored by jean-airoldie's avatar jean-airoldie

Problem: Potentially unitialized variable in #3508

Solution: Initialized it
parent 606a8f79
......@@ -155,7 +155,7 @@ void test_monitor_versioned_typed_basic (bind_function_t bind_function_,
server, "inproc://monitor-server", ZMQ_EVENT_ALL_V2, 2, type_));
// Choose the appropriate consumer socket type.
int mon_type;
int mon_type = ZMQ_PAIR;
switch (type_) {
case ZMQ_PAIR:
mon_type = ZMQ_PAIR;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment