2
0
mirror of https://github.com/boostorg/lambda.git synced 2026-01-24 05:52:17 +00:00

Supress warnings on gcc and msvc. Fixes #1515

[SVN r51448]
This commit is contained in:
Steven Watanabe
2009-02-26 02:33:15 +00:00
parent 0faeb3f19e
commit 0c4e251ebe
12 changed files with 142 additions and 21 deletions

View File

@@ -29,7 +29,7 @@ using namespace boost::lambda;
using namespace std;
// to prevent unused variables warnings
template <class T> void dummy(const T& t) {}
template <class T> void dummy(const T&) {}
void erroneous_exception_related_lambda_expressions() {
@@ -603,7 +603,7 @@ int test_main(int, char *[]) {
return_type_matching();
test_empty_catch_blocks();
}
catch (int x)
catch (int)
{
BOOST_CHECK(false);
}