summaryrefslogtreecommitdiff
path: root/boost/python/detail/defaults_gen.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/python/detail/defaults_gen.hpp')
-rw-r--r--boost/python/detail/defaults_gen.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/python/detail/defaults_gen.hpp b/boost/python/detail/defaults_gen.hpp
index 0b3e0e2604..88beeedb02 100644
--- a/boost/python/detail/defaults_gen.hpp
+++ b/boost/python/detail/defaults_gen.hpp
@@ -213,7 +213,7 @@ namespace detail
{ \
typedef typename ::boost::python::detail:: \
error::more_keywords_than_function_arguments< \
- N,n_args>::too_many_keywords assertion; \
+ N,n_args>::too_many_keywords assertion BOOST_ATTRIBUTE_UNUSED; \
} \
template <std::size_t N> \
fstubs_name(::boost::python::detail::keywords<N> const& keywords, char const* doc = 0) \
@@ -222,7 +222,7 @@ namespace detail
{ \
typedef typename ::boost::python::detail:: \
error::more_keywords_than_function_arguments< \
- N,n_args>::too_many_keywords assertion; \
+ N,n_args>::too_many_keywords assertion BOOST_ATTRIBUTE_UNUSED; \
}
# if defined(BOOST_NO_VOID_RETURNS)