diff --git a/src/bgp/test/bgp_evpn_manager_test.cc b/src/bgp/test/bgp_evpn_manager_test.cc index 5de9181b3f8..3f8ac0cf4d0 100644 --- a/src/bgp/test/bgp_evpn_manager_test.cc +++ b/src/bgp/test/bgp_evpn_manager_test.cc @@ -157,7 +157,7 @@ class BgpEvpnManagerTest : public ::testing::TestWithParam { static const int kVrfId = 1; static const int kVnIndex = 1; - BgpEvpnManagerTest() : thread_(&evm_) { + BgpEvpnManagerTest() : thread_(&evm_), tag_(0) { } virtual void SetUp() { diff --git a/src/xmpp/xmpp_server.cc b/src/xmpp/xmpp_server.cc index 72d307db11c..8777021d1fc 100644 --- a/src/xmpp/xmpp_server.cc +++ b/src/xmpp/xmpp_server.cc @@ -55,6 +55,7 @@ XmppServer::XmppServer(EventManager *evm, const string &server_addr, const XmppChannelConfig *config) : XmppConnectionManager( evm, ssl::context::tlsv1_server, config->auth_enabled, true), + max_connections_(0), lifetime_manager_(XmppObjectFactory::Create( TaskScheduler::GetInstance()->GetTaskId("bgp::Config"))), deleter_(new DeleteActor(this)),