At (2): Non-static class member "m_thread" is not initialized in this constructor nor in any functions that it calls.
At (4): Non-static class member "m_prio" is not initialized in this constructor nor in any functions that it calls.
At (6): Non-static class member "m_subsys" is not initialized in this constructor nor in any functions that it calls.
CID 717229: Uninitialized scalar field (UNINIT_CTOR)
At (8): Non-static class member "m_static_buf" is not initialized in this constructor nor in any functions that it calls.
Signed-off-by: Sage Weil <sage@inktank.com>
PrebufferedStreambuf m_streambuf;
Entry()
- : m_next(NULL), m_streambuf(m_static_buf, sizeof(m_static_buf))
+ : m_thread(0), m_prio(0), m_subsys(0),
+ m_next(NULL),
+ m_streambuf(m_static_buf, sizeof(m_static_buf))
{}
Entry(utime_t s, pthread_t t, short pr, short sub,
const char *msg = NULL)