mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
fix unused-variable warning
This commit is contained in:
@@ -68,8 +68,10 @@ TEST(depth, ctor) {
|
||||
}
|
||||
|
||||
TEST(depth, convert_throw) {
|
||||
ASSERT_THROW(u32 v = depth::infinity(), DepthOverflowError);
|
||||
ASSERT_THROW(u32 v = depth::unreachable(), DepthOverflowError);
|
||||
u32 v;
|
||||
(void)v;
|
||||
ASSERT_THROW(v = depth::infinity(), DepthOverflowError);
|
||||
ASSERT_THROW(v = depth::unreachable(), DepthOverflowError);
|
||||
}
|
||||
|
||||
TEST(depth, is_finite) {
|
||||
|
Reference in New Issue
Block a user