mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
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 <sage@inktank.com>
This commit is contained in:
parent
5846e27b73
commit
cf6639a049
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user