Parcourir la source

[master] added missing initialization

the original version didn't have a problem because the constructor
should never be used in python wrappers, but I do this to silence cppcheck.
the change is small anyway.
JINMEI Tatuya il y a 12 ans
Parent
commit
cabbe83773
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/lib/python/isc/datasrc/updater_python.cc

+ 1 - 1
src/lib/python/isc/datasrc/updater_python.cc

@@ -203,7 +203,7 @@ namespace {
 
 
 class s_UpdaterRRsetCollection : public s_RRsetCollection {
 class s_UpdaterRRsetCollection : public s_RRsetCollection {
 public:
 public:
-    s_UpdaterRRsetCollection() : s_RRsetCollection() {}
+    s_UpdaterRRsetCollection() : s_RRsetCollection(), base_obj_(NULL) {}
     PyObject* base_obj_;
     PyObject* base_obj_;
 };
 };