mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-19 19:52:15 +02:00
test_cpu_time: fix unused variable
clang 13 complains:
test/unittests/test_cpu_time.cpp:110:16:
error: variable 'd' set but not used [-Werror,-Wunused-but-set-variable]
double d=0;
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
(cherry picked from commit 9367513b4a
)
This commit is contained in:
parent
ec5ea70de2
commit
f48d020b67
@ -112,6 +112,7 @@ namespace unittests
|
||||
{
|
||||
d += gen();
|
||||
}
|
||||
(void)d;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user