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:
Marcelo Matus 2006-02-25 08:33:22 +00:00
commit 00aee379b2

View file

@ -105,7 +105,7 @@ or you can use the %apply directive :
if (SWIG_IsNewObj(res$argnum)) %delete($1);
}
%typemap(typecheck,noblock=1,precedence=code,fragment=asval_frag) Type *INPUT, Type &INPUT {
void *ptr;
void *ptr = 0;
int res = asval_meth($input, 0);
$1 = SWIG_CheckState(res);
if (!$1) {