Skip to content

Commit

Permalink
tests: internal: hashtable: remove unused variable
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Jul 21, 2023
1 parent c3c07c2 commit 4dc6510
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/internal/hashtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ void test_delete_all()
int i;
int ret;
int count;
int not_found = 0;
int total = 0;
struct map *m;
struct flb_hash_table_chain *table;
Expand All @@ -202,9 +201,7 @@ void test_delete_all()
for (i = total - 1; i >= 0; i--) {
m = &entries[i];
ret = flb_hash_table_del(ht, m->key);
if (ret == -1) {
not_found++;
}
TEST_CHECK(ret == 0);
}

count = 0;
Expand Down

0 comments on commit 4dc6510

Please sign in to comment.