No real changes, just remove an unused variable
"sobj" in C::classHandler() was not used at all.
This commit is contained in:
parent
42c3d420b2
commit
4962871cd9
1 changed files with 0 additions and 3 deletions
|
|
@ -1338,7 +1338,6 @@ ready:
|
||||||
|
|
||||||
virtual int classHandler(Node *n) {
|
virtual int classHandler(Node *n) {
|
||||||
String *name = getNamespacedName(n);
|
String *name = getNamespacedName(n);
|
||||||
String *sobj = NewString("");
|
|
||||||
List *baselist = Getattr(n, "bases");
|
List *baselist = Getattr(n, "bases");
|
||||||
|
|
||||||
if (CPlusPlus) {
|
if (CPlusPlus) {
|
||||||
|
|
@ -1389,7 +1388,6 @@ ready:
|
||||||
// declare type for specific class in the proxy header
|
// declare type for specific class in the proxy header
|
||||||
Printv(f_wrappers_types, "typedef struct SwigObj_", name, " ", name, ";\n\n", NIL);
|
Printv(f_wrappers_types, "typedef struct SwigObj_", name, " ", name, ";\n\n", NIL);
|
||||||
|
|
||||||
Delete(sobj);
|
|
||||||
Delete(name);
|
Delete(name);
|
||||||
return Language::classHandler(n);
|
return Language::classHandler(n);
|
||||||
}
|
}
|
||||||
|
|
@ -1408,7 +1406,6 @@ ready:
|
||||||
else
|
else
|
||||||
Append(f_wrappers_types, "};\n\n");
|
Append(f_wrappers_types, "};\n\n");
|
||||||
|
|
||||||
Delete(sobj);
|
|
||||||
Delete(name);
|
Delete(name);
|
||||||
}
|
}
|
||||||
return SWIG_OK;
|
return SWIG_OK;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue