[C++-sig] unused parameter warning in 1.34.1
Hans Meine
meine at informatik.uni-hamburg.de
Fri Sep 7 18:23:22 CEST 2007
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());
--
Ciao, / /
/--/
/ / ANS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boost_unused_parameter.diff
Type: text/x-diff
Size: 512 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20070907/dab26afc/attachment.diff>
More information about the Cplusplus-sig
mailing list