gcc-4.6 warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e39a16c92a
commit
8a8c8e377b
1 changed files with 0 additions and 4 deletions
|
|
@ -1091,9 +1091,6 @@ public:
|
||||||
int min_num_of_arguments = emit_num_required(l);
|
int min_num_of_arguments = emit_num_required(l);
|
||||||
int max_num_of_arguments = emit_num_arguments(l);
|
int max_num_of_arguments = emit_num_arguments(l);
|
||||||
|
|
||||||
// For a function with default arguments, we end up with the fullest
|
|
||||||
// parmlist in full_parmlist.
|
|
||||||
ParmList *full_parmlist = l;
|
|
||||||
Hash *ret_types = NewHash();
|
Hash *ret_types = NewHash();
|
||||||
Setattr(ret_types, d, d);
|
Setattr(ret_types, d, d);
|
||||||
|
|
||||||
|
|
@ -1126,7 +1123,6 @@ public:
|
||||||
|
|
||||||
if (num_arguments > max_num_of_arguments) {
|
if (num_arguments > max_num_of_arguments) {
|
||||||
max_num_of_arguments = num_arguments;
|
max_num_of_arguments = num_arguments;
|
||||||
full_parmlist = l2;
|
|
||||||
}
|
}
|
||||||
o = Getattr(o, "sym:nextSibling");
|
o = Getattr(o, "sym:nextSibling");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue