Suppress warnings under variant=release

This commit is contained in:
Peter Dimov
2020-11-20 04:56:21 +02:00
parent 50030e9ac3
commit 362da7892c
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@
void test_default() void test_default()
{ {
int x = 1; int x = 1; (void)x;
BOOST_ASSERT(1); BOOST_ASSERT(1);
BOOST_ASSERT(x); BOOST_ASSERT(x);

View File

@@ -13,6 +13,6 @@
int main() int main()
{ {
int x = 1; int x = 1; (void)x;
BOOST_ASSERT( x == 1 ); BOOST_ASSERT( x == 1 );
} }