[C++-sig] unused parameter warning in 1.34.1

David Abrahams dave at boost-consulting.com
Sun Sep 9 21:43:57 CEST 2007


on Fri Sep 07 2007, Hans Meine <meine-AT-informatik.uni-hamburg.de> wrote:

> Hi!
>
> I suspect that this is already fixed in SVN, but if not, here it is:
>
> --- boost/python/converter/implicit.hpp~	2007-09-06 21:58:01.141553000 +0200
> +++ boost/python/converter/implicit.hpp	2007-09-07 18:19:09.529179000 +0200
> @@ -31,8 +31,7 @@
>          void* storage = 
> ((rvalue_from_python_storage<Target>*)data)->storage.bytes;
>  
>          arg_from_python<Source> get_source(obj);
> -        bool convertible = get_source.convertible();
> -        BOOST_ASSERT(convertible);
> +        BOOST_ASSERT(get_source.convertible());
>          
>          new (storage) Target(get_source());

Please post your patch to the Trac at http://svn.boost.org

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

The Astoria Seminar ==> http://www.astoriaseminar.com




More information about the Cplusplus-sig mailing list