From 6571ecfe68b9d7d99ec1169f17b236f06818affe Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Mon, 17 Mar 2003 18:13:26 +0000 Subject: [PATCH] Added typemap to remove uninitialized variable warning. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4566 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/tcl/multimap/example.i | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Examples/tcl/multimap/example.i b/Examples/tcl/multimap/example.i index afe7ed7f9..721cfe04c 100644 --- a/Examples/tcl/multimap/example.i +++ b/Examples/tcl/multimap/example.i @@ -4,6 +4,8 @@ extern int gcd(int x, int y); +%typemap(tcl8,arginit) (int argc, char *argv[]) "$2 = 0;"; + %typemap(tcl8,in) (int argc, char *argv[]) { Tcl_Obj **listobjv = 0; int i;