Problem: Potentially unitialized variable in #3508

Solution: Initialized it
This commit is contained in:
jean-airoldie
2019-05-15 05:32:45 -04:00
parent 606a8f7967
commit 7836ec752c

View File

@@ -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;