From cf6639a04980b00dab5d383f8623823bb68bfa2d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 27 Sep 2012 21:03:02 -0700 Subject: [PATCH] perfcounters: remove unused members Avoids coverity warning CID 717214: Uninitialized scalar field (UNINIT_CTOR) At (2): Non-static class member "m_shutdown_fd" is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Sage Weil --- src/common/perf_counters.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/common/perf_counters.h b/src/common/perf_counters.h index 731df61b665..2d795bf33ee 100644 --- a/src/common/perf_counters.h +++ b/src/common/perf_counters.h @@ -139,15 +139,11 @@ public: void clear(); void write_json_to_buf(ceph::bufferlist& bl, bool schema); private: - bool init(const std::string &uri); - void shutdown(); - CephContext *m_cct; /** Protects m_loggers */ mutable Mutex m_lock; - int m_shutdown_fd; perf_counters_set_t m_loggers; friend class PerfCountersCollectionTest;