diff --git a/tests/unittests/message_router_unittest.cc b/tests/unittests/message_router_unittest.cc index 032f6f540..06d3d746a 100644 --- a/tests/unittests/message_router_unittest.cc +++ b/tests/unittests/message_router_unittest.cc @@ -1735,7 +1735,7 @@ void MakeTestQueries(MultiQueryManager* manager, bool some, } else { // Test every type of query. for (int i = 0; i < many_count; ++i) { - MultiQueryManager::TestType type; + MultiQueryManager::TestType type = MultiQueryManager::SUCCESS; switch (i % 7) { case 0: type = MultiQueryManager::SUCCESS;