diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-02-12 01:20:03 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-02-12 15:24:39 -0300 |
commit | 40f7ab459308a71d5fdabd82de758f7fac01c63b (patch) | |
tree | ff354edeee57ffa0e6b73e2853322a131b373384 /libshiboken | |
parent | 010b4230f1b643d20a42a41764d048660a2e1db1 (diff) |
Removed some member initializations from SbkBaseWrapper_New.
The same initializations are made in SbkBaseWrapper_TpNew
which is called by SbkBaseWrapper_New.
Diffstat (limited to 'libshiboken')
-rw-r--r-- | libshiboken/basewrapper.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libshiboken/basewrapper.cpp b/libshiboken/basewrapper.cpp index d36e00493..c23e677df 100644 --- a/libshiboken/basewrapper.cpp +++ b/libshiboken/basewrapper.cpp @@ -134,11 +134,7 @@ PyObject* SbkBaseWrapper_New(SbkBaseWrapperType* instanceType, SbkBaseWrapper* self = reinterpret_cast<SbkBaseWrapper*>(SbkBaseWrapper_TpNew(reinterpret_cast<PyTypeObject*>(instanceType), 0, 0)); self->cptr = const_cast<void*>(cptr); self->hasOwnership = hasOwnership; - self->containsCppWrapper = 0; self->validCppObject = 1; - self->parentInfo = 0; - self->ob_dict = 0; - self->weakreflist = 0; BindingManager::instance().registerWrapper(self); return reinterpret_cast<PyObject*>(self); } |