Removed unused variables from constantWrapper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0526d3ac46
commit
baa333b1ed
1 changed files with 0 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue