mirror of
https://github.com/boostorg/assert.git
synced 2026-07-08 17:41:04 +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);
|
||||
|
||||
+1
-1
@@ -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