From f162c1b6443aadb54751be2e1fd3dc690e422dc5 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 17 Mar 2003 10:15:44 +0000 Subject: [PATCH] compiler warning fix git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4555 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/lang.cxx | 1 - Source/Modules/ocaml.cxx | 1 - Source/Modules/python.cxx | 1 - Source/Swig/cwrap.c | 1 - 4 files changed, 4 deletions(-) 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);