Skip to content

Commit 0d523d3

Browse files
committed
Fix -Wunused-variable warning
1 parent cfd2557 commit 0d523d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/Modules/interface.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ void Swig_interface_propagate_methods(Node *n) {
183183
if (Strcmp(symname, "$ignore") != 0) {
184184
Symtab *oldscope = Swig_symbol_setscope(Getattr(n, "symtab"));
185185
Node *on = Swig_symbol_add(symname, cn);
186+
(void)on;
186187
assert(on == cn);
187188

188189
// Features from the copied base class method are already present, now add in features specific to the added method in the derived class

0 commit comments

Comments
 (0)