add '= 0' to avoid warnings in icc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c69f576ccb
commit
00aee379b2
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ or you can use the %apply directive :
|
||||||
if (SWIG_IsNewObj(res$argnum)) %delete($1);
|
if (SWIG_IsNewObj(res$argnum)) %delete($1);
|
||||||
}
|
}
|
||||||
%typemap(typecheck,noblock=1,precedence=code,fragment=asval_frag) Type *INPUT, Type &INPUT {
|
%typemap(typecheck,noblock=1,precedence=code,fragment=asval_frag) Type *INPUT, Type &INPUT {
|
||||||
void *ptr;
|
void *ptr = 0;
|
||||||
int res = asval_meth($input, 0);
|
int res = asval_meth($input, 0);
|
||||||
$1 = SWIG_CheckState(res);
|
$1 = SWIG_CheckState(res);
|
||||||
if (!$1) {
|
if (!$1) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue