Warning tidy up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4c67b40977
commit
20184c76e7
3 changed files with 0 additions and 8 deletions
|
|
@ -1358,7 +1358,6 @@ int Language::unrollVirtualMethods(Node *n,
|
|||
Hash *vm,
|
||||
int default_director,
|
||||
int &virtual_destructor) {
|
||||
int top = (n == parent);
|
||||
Node *ni;
|
||||
String *nodeType;
|
||||
String *storage;
|
||||
|
|
|
|||
|
|
@ -616,8 +616,6 @@ public:
|
|||
int numargs;
|
||||
int numreq;
|
||||
int newobj = Getattr(n,"feature:new") ? 1 : 0;
|
||||
int director = Swig_directormethod(n);
|
||||
int directorbase = Swig_directorbase(n);
|
||||
Node *classNode = Swig_methodclass(n);
|
||||
int hasVirtual = (classNode && (Getattr(classNode, "hasVirtual") != 0));
|
||||
String *nodeType = Getattr(n, "nodeType");
|
||||
|
|
@ -1542,7 +1540,6 @@ public:
|
|||
* to SWIGTYPE) called DIRECTORTYPE?
|
||||
*/
|
||||
if (SwigType_ispointer(ptype) || SwigType_isreference(ptype)) {
|
||||
String *base = SwigType_base(ptype);
|
||||
Node *module = Getattr(parent, "module");
|
||||
Node *target = Swig_directormap(module, ptype);
|
||||
sprintf(source, "obj%d", idx++);
|
||||
|
|
|
|||
|
|
@ -654,9 +654,6 @@ public:
|
|||
int allow_kwargs = (use_kw || Getattr(n,"feature:kwargs")) ? 1 : 0;
|
||||
|
||||
/* member of a director class? */
|
||||
int director = Swig_directormethod(n);
|
||||
int directorbase = Swig_directorbase(n);
|
||||
Node *classNode = Swig_methodclass(n);
|
||||
String *nodeType = Getattr(n, "nodeType");
|
||||
int constructor = (!Cmp(nodeType, "constructor"));
|
||||
String *storage = Getattr(n,"storage");
|
||||
|
|
@ -1380,7 +1377,6 @@ public:
|
|||
* to SWIGTYPE) called DIRECTORTYPE?
|
||||
*/
|
||||
if (SwigType_ispointer(ptype) || SwigType_isreference(ptype)) {
|
||||
String *base = SwigType_base(ptype);
|
||||
Node *module = Getattr(parent, "module");
|
||||
Node *target = Swig_directormap(module, ptype);
|
||||
sprintf(source, "obj%d", idx++);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue