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
This commit is contained in:
Dave Beazley 2003-03-17 18:13:26 +00:00
commit 6571ecfe68

View file

@ -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;