diff options
author | amitkuma <amitkuma@redhat.com> | 2017-08-18 20:32:29 +0200 |
---|---|---|
committer | amitkuma <amitkuma@redhat.com> | 2017-08-18 20:32:29 +0200 |
commit | fe58ab0766fa404b4a9096e57597a443abc8c139 (patch) | |
tree | eb25acea49a456d827381eb147ca41ae168fa90b /src/test/journal | |
parent | Merge pull request #17070 from ktdreyer/rpm-macros-in-comments (diff) | |
download | ceph-fe58ab0766fa404b4a9096e57597a443abc8c139.tar.xz ceph-fe58ab0766fa404b4a9096e57597a443abc8c139.zip |
journal: Intializing m_work_queue
** 1396201 Uninitialized pointer field
CID 1396201 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
2. uninit_member: Non-static class member m_work_queue is not
initialized in this constructor nor in any functions that it calls.
Signed-off-by: Amit Kumar amitkuma@redhat.com
Diffstat (limited to 'src/test/journal')
-rw-r--r-- | src/test/journal/RadosTestFixture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/journal/RadosTestFixture.h b/src/test/journal/RadosTestFixture.h index 860329e6107..1b483d459cc 100644 --- a/src/test/journal/RadosTestFixture.h +++ b/src/test/journal/RadosTestFixture.h @@ -64,7 +64,7 @@ public: librados::IoCtx m_ioctx; - ContextWQ *m_work_queue; + ContextWQ *m_work_queue = nullptr; Mutex m_timer_lock; SafeTimer *m_timer; |