Fix few unused variable warnings
This commit is contained in:
parent
c6af0c5a67
commit
ee8d47cec4
6 changed files with 12 additions and 0 deletions
|
|
@ -4115,6 +4115,7 @@ private:
|
|||
String *name = Getattr(n, "sym:name");
|
||||
if (!name) {
|
||||
assert(is_ignored);
|
||||
(void)is_ignored;
|
||||
name = Getattr(n, "name");
|
||||
}
|
||||
|
||||
|
|
@ -6085,6 +6086,7 @@ private:
|
|||
}
|
||||
bool r = addSymbol(name, n, scope) ? true : false;
|
||||
assert(r);
|
||||
(void)r;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1002,6 +1002,7 @@ public:
|
|||
// REPORT("variableWrapper", n);
|
||||
String *lua_name = Getattr(n, "lua:name");
|
||||
assert(lua_name);
|
||||
(void)lua_name;
|
||||
current[VARIABLE] = true;
|
||||
// let SWIG generate the wrappers
|
||||
int result = Language::variableWrapper(n);
|
||||
|
|
|
|||
|
|
@ -4875,6 +4875,7 @@ public:
|
|||
String *classname = Swig_class_name(parent);
|
||||
String *rclassname = Swig_class_name(getCurrentClass());
|
||||
assert(rclassname);
|
||||
(void)rclassname;
|
||||
|
||||
String *parms = make_pyParmList(n, true, false, allow_kwargs);
|
||||
/* Pass 'self' only if using director */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue