mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
osd/ClassHandler.cc: uninit var in ctor
CID 717336: Uninitialized pointer field (UNINIT_CTOR)At (2): Non-static class member "handler" is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
parent
e0b8cb7c15
commit
b041260799
@ -53,6 +53,7 @@ public:
|
||||
ClassMethod *_get_method(const char *mname);
|
||||
|
||||
ClassData() : status(CLASS_UNKNOWN),
|
||||
handler(NULL),
|
||||
handle(NULL) {}
|
||||
~ClassData() { }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user