mirror of https://github.com/Icinga/icinga2.git
Fix uninitialized field in the ApiListener class
Coverity Bug ID: 1272321
This commit is contained in:
parent
41cb5977f3
commit
e52a1f38f3
|
@ -42,6 +42,10 @@ boost::signals2::signal<void(bool)> ApiListener::OnMasterChanged;
|
|||
|
||||
REGISTER_STATSFUNCTION(ApiListenerStats, &ApiListener::StatsFunc);
|
||||
|
||||
ApiListener::ApiListener(void)
|
||||
: m_LogMessageCount(0)
|
||||
{ }
|
||||
|
||||
void ApiListener::OnConfigLoaded(void)
|
||||
{
|
||||
/* set up SSL context */
|
||||
|
|
|
@ -47,6 +47,8 @@ public:
|
|||
|
||||
static boost::signals2::signal<void(bool)> OnMasterChanged;
|
||||
|
||||
ApiListener(void);
|
||||
|
||||
static ApiListener::Ptr GetInstance(void);
|
||||
|
||||
boost::shared_ptr<SSL_CTX> GetSSLContext(void) const;
|
||||
|
|
Loading…
Reference in New Issue