mirror of
https://github.com/boostorg/assert.git
synced 2025-09-25 23:31:00 +02:00
Suppress warnings under variant=release
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
void test_default()
|
||||
{
|
||||
int x = 1;
|
||||
int x = 1; (void)x;
|
||||
|
||||
BOOST_ASSERT(1);
|
||||
BOOST_ASSERT(x);
|
||||
|
@@ -13,6 +13,6 @@
|
||||
|
||||
int main()
|
||||
{
|
||||
int x = 1;
|
||||
int x = 1; (void)x;
|
||||
BOOST_ASSERT( x == 1 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user