BIND 10 master, updated. 310c6201416fe8b57c691a9bbb045d781c601fea [master] Initialize base_obj in constructor (cppcheck report)

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Jun 13 07:57:18 UTC 2013


The branch, master has been updated
       via  310c6201416fe8b57c691a9bbb045d781c601fea (commit)
      from  32f964bd9bf8ab5ee58b409a3006779b9a504b03 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 310c6201416fe8b57c691a9bbb045d781c601fea
Author: Mukund Sivaraman <muks at isc.org>
Date:   Thu Jun 13 13:22:18 2013 +0530

    [master] Initialize base_obj in constructor (cppcheck report)

-----------------------------------------------------------------------

Summary of changes:
 .../isc/datasrc/zonetable_accessor_python.cc       |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/datasrc/zonetable_accessor_python.cc b/src/lib/python/isc/datasrc/zonetable_accessor_python.cc
index 353f7b5..d0583b9 100644
--- a/src/lib/python/isc/datasrc/zonetable_accessor_python.cc
+++ b/src/lib/python/isc/datasrc/zonetable_accessor_python.cc
@@ -34,7 +34,11 @@ namespace {
 // The s_* Class simply covers one instantiation of the object
 class s_ZoneTableAccessor : public PyObject {
 public:
-    s_ZoneTableAccessor() : cppobj(ConstZoneTableAccessorPtr()) {};
+    s_ZoneTableAccessor() :
+        cppobj(ConstZoneTableAccessorPtr()),
+        base_obj(NULL)
+    {}
+
     ConstZoneTableAccessorPtr cppobj;
     // This is a reference to a base object; if the object of this class
     // depends on another object to be in scope during its lifetime,



More information about the bind10-changes mailing list