fix Wall/pedantic

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-31 06:18:50 +00:00
commit 26afeac0c7
2 changed files with 2 additions and 2 deletions

View file

@ -480,7 +480,7 @@ SWIGEXPORT int SWIG_import(lua_State* L)
}
#ifdef __cplusplus
};
}
#endif
%}

View file

@ -318,7 +318,7 @@ NEW LANGUAGE NOTE:END ************************************************/
we need to add a couple of local variables
NEW LANGUAGE NOTE:END ************************************************/
Wrapper *f = NewWrapper();
Wrapper_add_local(f,"SWIG_arg", "int SWIG_arg");
Wrapper_add_local(f,"SWIG_arg", "int SWIG_arg = -1");
String *wname = Swig_name_wrapper(iname);