Fix few unused variable warnings
This commit is contained in:
parent
c6af0c5a67
commit
ee8d47cec4
6 changed files with 12 additions and 0 deletions
|
|
@ -839,6 +839,7 @@ Node *Swig_cparse_template_locate(String *name, Parm *tparms, Symtab *tscope) {
|
|||
String *nodeType = nodeType(n);
|
||||
int isclass = 0;
|
||||
assert(Equal(nodeType, "template"));
|
||||
(void)nodeType;
|
||||
isclass = (Equal(Getattr(n, "templatetype"), "class"));
|
||||
if (!isclass) {
|
||||
/* If not a templated class we must have a templated function.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue