From e1673bb613f9f9d68839f78d27f2ea4ea464eba9 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 3 Feb 2008 21:33:47 +0000 Subject: [PATCH] fix visual c++ warnings git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10232 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/lua/lua.swg | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/lua/lua.swg b/Lib/lua/lua.swg index dd95ce80a..59687cc5a 100644 --- a/Lib/lua/lua.swg +++ b/Lib/lua/lua.swg @@ -181,6 +181,7 @@ For a more useful solution: see std_except for more details */ %typemap(throws) SWIGTYPE { + (void)$1; lua_pushfstring(L,"object exception:%s",SWIG_TypePrettyName($1_descriptor)); SWIG_fail; }