Fix "set but not used" warning

This commit is contained in:
Olly Betts 2016-12-13 13:58:51 +13:00
parent 23c0865831
commit f474577d5b
1 changed files with 1 additions and 1 deletions

View File

@ -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);