aboutsummaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorArt Yerkes <ayerkes@speakeasy.net>2003-05-20 14:40:37 +0000
committerArt Yerkes <ayerkes@speakeasy.net>2003-05-20 14:40:37 +0000
commit751f5b309565c28399034a7034013965deac84df (patch)
treea1fbdb8257da3d5ad2d87f5117fe543aa8bbcaf7 /Source
parentaeb43fbfd19e0b453765b66e2a7db6e93464bf81 (diff)
downloadswig-751f5b309565c28399034a7034013965deac84df.tar.gz
Removed unused variables from constantWrapper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Source')
-rwxr-xr-xSource/Modules/ocaml.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/Modules/ocaml.cxx b/Source/Modules/ocaml.cxx
index 80a45dc51..acc664527 100755
--- a/Source/Modules/ocaml.cxx
+++ b/Source/Modules/ocaml.cxx
@@ -1131,13 +1131,10 @@ public:
virtual int constantWrapper(Node *n) {
String *name = Getattr(n,"feature:symname");
- String *iname = Getattr(n,"sym:name");
SwigType *type = Getattr(n,"type");
String *value = Getattr(n,"value");
String *rvalue = NewString("");
String *temp = 0;
- String *tm;
- int have_tm = 0;
if( !name ) {
name = mangleNameForCaml(Getattr(n,"name"));
@@ -1145,8 +1142,6 @@ public:
Setattr(n,"feature:symname",name);
}
- String *wname = Swig_name_wrapper(iname);
-
// See if there's a typemap
Printv(rvalue, value,NIL);