From 00aee379b223bef1c771bb7e3d7ffabb2a3444dd Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Sat, 25 Feb 2006 08:33:22 +0000 Subject: [PATCH] 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 --- Lib/typemaps/inoutlist.swg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/typemaps/inoutlist.swg b/Lib/typemaps/inoutlist.swg index fc7379a47..c443a86d2 100644 --- a/Lib/typemaps/inoutlist.swg +++ b/Lib/typemaps/inoutlist.swg @@ -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) {