From 362da7892c83b48cddc9be4dac10d5c10b90f7fe Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 20 Nov 2020 04:56:21 +0200 Subject: [PATCH] Suppress warnings under variant=release --- test/assert_test.cpp | 2 +- test/quick.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/assert_test.cpp b/test/assert_test.cpp index 4919f6a..5e440f5 100644 --- a/test/assert_test.cpp +++ b/test/assert_test.cpp @@ -19,7 +19,7 @@ void test_default() { - int x = 1; + int x = 1; (void)x; BOOST_ASSERT(1); BOOST_ASSERT(x); diff --git a/test/quick.cpp b/test/quick.cpp index ec3dba6..bbfc17d 100644 --- a/test/quick.cpp +++ b/test/quick.cpp @@ -13,6 +13,6 @@ int main() { - int x = 1; + int x = 1; (void)x; BOOST_ASSERT( x == 1 ); }