]> granicus.if.org Git - icinga2/commitdiff
Fix compiler warnings in the CompatLogger class.
authorGunnar Beutner <gunnar@beutner.name>
Tue, 17 Dec 2013 06:54:41 +0000 (07:54 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 17 Dec 2013 06:54:41 +0000 (07:54 +0100)
Refs #5349

components/compat/compatlogger.cpp
components/compat/compatlogger.h

index c064b49fa3683fbc1b55643452675b31dc92257a..d0c26f1ec539e8309aad885657c3401e609e5fb1 100644 (file)
@@ -42,10 +42,6 @@ using namespace icinga;
 REGISTER_TYPE(CompatLogger);
 REGISTER_SCRIPTFUNCTION(ValidateRotationMethod, &CompatLogger::ValidateRotationMethod);
 
-CompatLogger::CompatLogger(void)
-       : m_LastRotation(0)
-{ }
-
 /**
  * @threadsafety Always.
  */
index fb99f2639abdf67b3cf3dd1083376dbf107cd460..ca61376e6f328a000e4cb5d3767088a46f5ed64d 100644 (file)
@@ -39,16 +39,12 @@ public:
        DECLARE_PTR_TYPEDEFS(CompatLogger);
        DECLARE_TYPENAME(CompatLogger);
 
-       CompatLogger(void);
-
        static void ValidateRotationMethod(const String& location, const Dictionary::Ptr& attrs);
 
 protected:
        virtual void Start(void);
 
 private:
-       double m_LastRotation;
-
        void WriteLine(const String& line);
        void Flush(void);