Merge pull request #5846 from Icinga/fix/compiler-warning

Fix compiler warnings
This commit is contained in:
Gunnar Beutner 2017-12-13 11:34:21 +01:00 committed by GitHub
commit c7a37090d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -204,4 +204,6 @@ bool ApiSetupUtility::SetupMasterUpdateConstants(const String& cn)
{
NodeUtility::UpdateConstant("NodeName", cn);
NodeUtility::UpdateConstant("ZoneName", cn);
return true;
}

View File

@ -35,7 +35,7 @@ boost::signals2::signal<void(const Endpoint::Ptr&, const JsonRpcConnection::Ptr&
boost::signals2::signal<void(const Endpoint::Ptr&, const JsonRpcConnection::Ptr&)> Endpoint::OnDisconnected;
Endpoint::Endpoint(void)
: m_MessagesSent(60), m_BytesSent(60), m_MessagesReceived(60), m_BytesReceived(60)
: m_MessagesSent(60), m_MessagesReceived(60), m_BytesSent(60), m_BytesReceived(60)
{ }
void Endpoint::OnAllConfigLoaded(void)