Skip to content

Commit 3e420cc

Browse files
author
Daniel Kroening
authored
Merge pull request #3321 from tautschnig/vs-unused-local
Silence warning about unused local symbol
2 parents b8db0ec + f4ac10d commit 3e420cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unit/util/symbol_table.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ TEST_CASE("Iterating through a symbol table", "[core][utils][symbol_tablet]")
1818
int counter = 0;
1919
for(auto &entry : symbol_table)
2020
{
21+
(void)entry; // we are just testing iteration here
2122
++counter;
2223
}
2324

0 commit comments

Comments
 (0)