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

Hans Meine meine at informatik.uni-hamburg.de
Mon Sep 17 12:06:01 CEST 2007


Am Sonntag, 09. September 2007 21:43:57 schrieb David Abrahams:
> on Fri Sep 07 2007, Hans Meine <meine-AT-informatik.uni-hamburg.de> wrote:
> > --- 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

I did so (my first use of Trac), but I made a mistake and first attached the 
wrong file: http://svn.boost.org/trac/boost/ticket/1271

Otherwise, is that what you wanted me to do?

-- 
Ciao, /  /
     /--/
    /  / ANS



More information about the Cplusplus-sig mailing list