Visual Studio warning fixes

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-09-27 20:16:09 +00:00
commit da2a914365
5 changed files with 12 additions and 9 deletions

View file

@ -61,5 +61,5 @@ static void SWIG_AsVal(VALUE obj, int *val)
* ------------------------------------------------------------ */
%typemap(throws) enum SWIGTYPE
"rb_exc_raise(rb_exc_new3(rb_eRuntimeError, rb_obj_as_string(INT2NUM($1))));";
"(void)$1; rb_exc_raise(rb_exc_new3(rb_eRuntimeError, rb_obj_as_string(INT2NUM($1))));"