diff --git a/Source/Modules/lang.cxx b/Source/Modules/lang.cxx index 9ad706c09..62384d8da 100644 --- a/Source/Modules/lang.cxx +++ b/Source/Modules/lang.cxx @@ -1375,7 +1375,6 @@ int Language::unrollVirtualMethods(Node *n, int top = (n == parent); has_virtual = 0; Node *ni; - String *type; String *nodeType; String *storage; String *classname; diff --git a/Source/Modules/ocaml.cxx b/Source/Modules/ocaml.cxx index ba7123854..3f0f1b776 100755 --- a/Source/Modules/ocaml.cxx +++ b/Source/Modules/ocaml.cxx @@ -161,7 +161,6 @@ public: } else if (SwigType_isfunction(element)) { Parm *parm; String *p; - int j, plen; Append(result,"("); parm = args; while (parm != 0) { diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index 43a7ae5a2..cdcc7d407 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -210,7 +210,6 @@ String *method_decl(SwigType *s, const String_or_char *id, List *args, int strip } else if (SwigType_isfunction(element)) { Parm *parm; String *p; - int j, plen; Append(result,"("); parm = args; while (parm != 0) { diff --git a/Source/Swig/cwrap.c b/Source/Swig/cwrap.c index 64095847b..33ee1cf2d 100644 --- a/Source/Swig/cwrap.c +++ b/Source/Swig/cwrap.c @@ -695,7 +695,6 @@ Swig_DestructorToFunction(Node *n, String *classname, int cplus, int flags) { SwigType *type; Parm *p; - Node *classNode; type = NewString(classname); SwigType_add_pointer(type);