[C++-sig] [PATCH] unused variables.
Giulio Eulisse
eulisse at mail.cern.ch
Tue May 25 16:21:06 CEST 2004
Could someone please patch boost/boost.python as follows? Those unused
variables generate a lot of warnings when full warning report is used.
Thanks.
Ciao,
Giulio
Index: boost/python/class.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/python/class.hpp,v
retrieving revision 1.83.2.2
diff -u -r1.83.2.2 class.hpp
--- boost/python/class.hpp 7 Jan 2004 14:08:10 -0000 1.83.2.2
+++ boost/python/class.hpp 25 May 2004 13:35:12 -0000
@@ -556,7 +556,7 @@
template <class Fn, class Helper>
inline void def_default(
char const* name
- , Fn fn
+ , Fn /*fn*/
, Helper const& helper
, mpl::bool_<true>)
{
Index: boost/python/detail/caller.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/python/detail/caller.hpp,v
retrieving revision 1.21.2.1
diff -u -r1.21.2.1 caller.hpp
--- boost/python/detail/caller.hpp 6 Jan 2004 13:08:25 -0000
1.21.2.1
+++ boost/python/detail/caller.hpp 25 May 2004 13:35:12 -0000
@@ -82,7 +82,7 @@
template <class ArgPackage, class ResultConverter>
inline ResultConverter create_result_converter(
- ArgPackage const& args_
+ ArgPackage const& /*args_*/
, ResultConverter*
, ...
)
More information about the Cplusplus-sig
mailing list