From c249ad929172189e81a7d988a0d468458be2c135 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Sun, 22 Jan 2006 00:49:43 +0000 Subject: [PATCH] fix for VC warns git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8512 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/ruby.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Modules/ruby.cxx b/Source/Modules/ruby.cxx index 99d34fce0..337051672 100644 --- a/Source/Modules/ruby.cxx +++ b/Source/Modules/ruby.cxx @@ -2212,7 +2212,6 @@ public: Printf(w->code, "args.id = rb_intern(\"%s\");\n", methodName); Printf(w->code, "args.argc = %d;\n", argc); if (argc > 0) { - Wrapper_add_localv(w, "i", "int", "i", NIL); Printf(w->code, "args.argv = new VALUE[%d];\n", argc); for (int i = 0; i < argc; i++) { Printf(w->code, "args.argv[%d] = obj%d;\n", i, i);