From 98e8c01ea742a9824cf5d3d2060e4febeb626cf2 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Sat, 25 Feb 2006 08:21:12 +0000 Subject: [PATCH] add '= 0' to avoid warnings in icc git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8894 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Lib/typemaps/void.swg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Lib/typemaps/void.swg b/SWIG/Lib/typemaps/void.swg index 931a784d9..aa1258312 100644 --- a/SWIG/Lib/typemaps/void.swg +++ b/SWIG/Lib/typemaps/void.swg @@ -12,7 +12,7 @@ } %typemap(freearg) void * ""; -%typemap(in,noblock=1) void * const& ($*ltype temp, int res) { +%typemap(in,noblock=1) void * const& ($*ltype temp = 0, int res) { res = SWIG_ConvertPtr($input, %as_voidptrptr(&temp), 0, $disown); if (!SWIG_IsOK(res)) { %argument_fail(res, "Stype", $symname, $argnum);