diff --git a/Source/Modules/perl5.cxx b/Source/Modules/perl5.cxx index 45ed6f6e4..979f96484 100644 --- a/Source/Modules/perl5.cxx +++ b/Source/Modules/perl5.cxx @@ -13,8 +13,6 @@ #include "swigmod.h" #include "cparse.h" -static int treduce = SWIG_cparse_template_reduce(0); - #include static const char *usage = "\ diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index a6a81b514..532b15f4f 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -13,9 +13,6 @@ #include "swigmod.h" #include "cparse.h" - -static int treduce = SWIG_cparse_template_reduce(0); - #include #include #include diff --git a/Source/Modules/ruby.cxx b/Source/Modules/ruby.cxx index d484f7065..4b45b87ca 100644 --- a/Source/Modules/ruby.cxx +++ b/Source/Modules/ruby.cxx @@ -13,14 +13,12 @@ #include "swigmod.h" #include "cparse.h" -static int treduce = SWIG_cparse_template_reduce(0); - -#define SWIG_PROTECTED_TARGET_METHODS 1 - #include #include #include /* for INT_MAX */ +#define SWIG_PROTECTED_TARGET_METHODS 1 + class RClass { private: String *temp; diff --git a/Source/Modules/tcl8.cxx b/Source/Modules/tcl8.cxx index ac356098b..2e32fc808 100644 --- a/Source/Modules/tcl8.cxx +++ b/Source/Modules/tcl8.cxx @@ -13,7 +13,6 @@ #include "swigmod.h" #include "cparse.h" -static int treduce = SWIG_cparse_template_reduce(0); static const char *usage = "\ Tcl 8 Options (available with -tcl)\n\