Merge pull request #168 from apolukhin/patch-1

Deal with unused variable warning
This commit is contained in:
Raffi Enficiaud 2018-10-03 19:29:13 +02:00 committed by GitHub
commit 90d577a620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ namespace ut_detail {
template<typename E>
BOOST_NORETURN inline void
throw_exception(E const& e) { abort(); }
throw_exception(E const& /*e*/) { abort(); }
#define BOOST_TEST_I_TRY
#define BOOST_TEST_I_CATCH( T, var ) for(T const& var = *(T*)0; false;)