Fix Coverity 'Uninitialized pointer fields' - member variables are now initialized
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
46d2486115
commit
fd24b188e2
8 changed files with 104 additions and 54 deletions
|
|
@ -132,6 +132,7 @@ public:
|
|||
variable_name(NULL),
|
||||
proxy_class_constants_code(NULL),
|
||||
module_class_constants_code(NULL),
|
||||
enum_code(NULL),
|
||||
package(NULL),
|
||||
jnipackage(NULL),
|
||||
package_path(NULL),
|
||||
|
|
@ -151,7 +152,9 @@ public:
|
|||
dmethods_seq(NULL),
|
||||
dmethods_table(NULL),
|
||||
n_dmethods(0),
|
||||
n_directors(0) {
|
||||
n_directors(0),
|
||||
first_class_dmethod(0),
|
||||
curr_class_dmethod(0) {
|
||||
/* for now, multiple inheritance in directors is disabled, this
|
||||
should be easy to implement though */
|
||||
director_multiple_inheritance = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue