diff --git a/Source/Modules/d.cxx b/Source/Modules/d.cxx index 17cb8babd..4f110fb8d 100644 --- a/Source/Modules/d.cxx +++ b/Source/Modules/d.cxx @@ -273,9 +273,9 @@ public: dmethods_seq(NULL), dmethods_table(NULL), n_dmethods(0), - unknown_types(NULL), first_class_dmethod(0), - curr_class_dmethod(0) { + curr_class_dmethod(0), + unknown_types(NULL) { // For now, multiple inheritance with directors is not possible. It should be // easy to implement though. diff --git a/Source/Modules/typepass.cxx b/Source/Modules/typepass.cxx index 90318b122..192c85ba6 100644 --- a/Source/Modules/typepass.cxx +++ b/Source/Modules/typepass.cxx @@ -717,7 +717,7 @@ class TypePass:private Dispatcher { * destructorDeclaration() * ------------------------------------------------------------ */ - virtual int destructorDeclaration(Node *n) { + virtual int destructorDeclaration(Node *) { return SWIG_OK; }