Skip to content

Commit 3d6b667

Browse files
TheMarexPatrick Niklaus
authored andcommitted
No unused warning for alias benchmark
1 parent 97d027a commit 3d6b667

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/benchmarks/alias.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ int main(int, char **)
5050
TIMER_START(aliased_u32);
5151
for (auto round : util::irange(0, num_rounds))
5252
{
53+
(void) round;
5354
osrm_uint32 sum{0};
5455
osrm_uint32 mult{1};
5556
for (auto idx : indices)
@@ -68,6 +69,7 @@ int main(int, char **)
6869
TIMER_START(plain_u32);
6970
for (auto round : util::irange(0, num_rounds))
7071
{
72+
(void) round;
7173
std::uint32_t sum{0};
7274
std::uint32_t mult{1};
7375
for (auto idx : indices)
@@ -86,6 +88,7 @@ int main(int, char **)
8688
TIMER_START(aliased_double);
8789
for (auto round : util::irange(0, num_rounds))
8890
{
91+
(void) round;
8992
osrm_double sum{0.0};
9093
osrm_double mult{1.0};
9194
for (auto idx : indices)
@@ -105,6 +108,7 @@ int main(int, char **)
105108
TIMER_START(plain_double);
106109
for (auto round : util::irange(0, num_rounds))
107110
{
111+
(void) round;
108112
double sum{0.0};
109113
double mult{1.0};
110114
for (auto idx : indices)

0 commit comments

Comments
 (0)