From b0412607993b9d0b200af6962c51f028529bd716 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Wed, 29 Aug 2012 15:55:23 -0700 Subject: [PATCH] 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 --- src/osd/ClassHandler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osd/ClassHandler.h b/src/osd/ClassHandler.h index 87c216ae278..f336d861fbc 100644 --- a/src/osd/ClassHandler.h +++ b/src/osd/ClassHandler.h @@ -53,6 +53,7 @@ public: ClassMethod *_get_method(const char *mname); ClassData() : status(CLASS_UNKNOWN), + handler(NULL), handle(NULL) {} ~ClassData() { }