Fix "set but not used" warning
This commit is contained in:
parent
23c0865831
commit
f474577d5b
1 changed files with 1 additions and 1 deletions
|
|
@ -3288,7 +3288,7 @@ public:
|
|||
}
|
||||
|
||||
/* declare Ruby return value */
|
||||
String *value_result = NewStringf("VALUE %s", Swig_cresult_name());
|
||||
String *value_result = NewStringf("VALUE SWIGUNUSED %s", Swig_cresult_name());
|
||||
Wrapper_add_local(w, Swig_cresult_name(), value_result);
|
||||
Delete(value_result);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue