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))
|
||||
|
|
|
|||
|
|
@ -2958,8 +2958,8 @@ public:
|
|||
int status = SWIG_OK;
|
||||
int idx;
|
||||
bool ignored_method = GetFlag(n, "feature:ignore") ? true : false;
|
||||
bool asvoid = bool( checkAttribute( n, "feature:numoutputs", "0") );
|
||||
bool initstack = bool( checkAttribute( n, "feature:initstack", "1") );
|
||||
bool asvoid = checkAttribute( n, "feature:numoutputs", "0") ? true : false;
|
||||
bool initstack = checkAttribute( n, "feature:initstack", "1") ? true : false;
|
||||
|
||||
if (Cmp(storage, "virtual") == 0) {
|
||||
if (Cmp(value, "0") == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue