[Libreoffice-commits] online.git: loolwsd/Admin.hpp

Miklos Vajna vmiklos at collabora.co.uk
Wed Mar 16 08:12:15 UTC 2016


 loolwsd/Admin.hpp |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 05f19cd7de19093b3b73eac62f9d0caeb0f33f6d
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Wed Mar 16 09:11:50 2016 +0100

    loolwsd: fix -Werror,-Wunused-private-field

diff --git a/loolwsd/Admin.hpp b/loolwsd/Admin.hpp
index 3b98b9b..c99d079 100644
--- a/loolwsd/Admin.hpp
+++ b/loolwsd/Admin.hpp
@@ -93,8 +93,7 @@ private:
 class CpuStats : public Poco::Util::TimerTask
 {
 public:
-    CpuStats(Admin* admin)
-        : _admin(admin)
+    CpuStats(Admin* /*admin*/)
     {
         Log::info("Cpu stat ctor");
     }
@@ -107,7 +106,6 @@ public:
     void run() override;
 
 private:
-    Admin* _admin;
 };
 
 #endif


More information about the Libreoffice-commits mailing list