Suppress warnings under variant=release

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

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@
void test_default()
{
int x = 1;
int x = 1; (void)x;
BOOST_ASSERT(1);
BOOST_ASSERT(x);
+1 -1
View File
@@ -13,6 +13,6 @@
int main()
{
int x = 1;
int x = 1; (void)x;
BOOST_ASSERT( x == 1 );
}