trivial adjustments to enable warning-free compilation with gcc -Wall -W -Werror

[SVN r32364]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2006-01-20 16:53:30 +00:00
parent f195b6c10a
commit 58b61efb5f

View File

@ -346,7 +346,7 @@ namespace boost {
// Function objects
template<typename FunctionObj>
void init(FunctionObj f, function_obj_tag)
void init(FunctionObj /*f*/, function_obj_tag)
{
typedef typename BOOST_FUNCTION_GET_FUNCTION_OBJ_INVOKER<
FunctionObj,
@ -404,7 +404,7 @@ namespace boost {
// Reference to a function object
template<typename FunctionObj>
void
init(const reference_wrapper<FunctionObj>& f, function_obj_ref_tag)
init(const reference_wrapper<FunctionObj>& /*f*/, function_obj_ref_tag)
{
typedef typename BOOST_FUNCTION_GET_FUNCTION_REF_INVOKER<
FunctionObj,