[C++-sig] [PATCH] unused variables.
Ralf W. Grosse-Kunstleve
rwgk at yahoo.com
Fri Jun 11 02:17:37 CEST 2004
Done, finally!
--- Giulio Eulisse <eulisse at mail.cern.ch> wrote:
> 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*
> , ...
> )
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
More information about the Cplusplus-sig
mailing list