warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
30964be253
commit
fa72166164
2 changed files with 3 additions and 3 deletions
|
|
@ -704,7 +704,7 @@ NEW LANGUAGE NOTE:END ************************************************/
|
|||
String *setName = 0;
|
||||
// checking whether it can be set to or not appears to be a very error prone issue
|
||||
// I refered to the Language::variableWrapper() to find this out
|
||||
bool assignable=is_assignable(n);
|
||||
bool assignable=is_assignable(n) ? true : false;
|
||||
SwigType *type = Getattr(n, "type");
|
||||
String *tm = Swig_typemap_lookup_new("globalin", n, iname, 0);
|
||||
if (!tm && SwigType_isarray(type))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue