Skip to content

Commit

Permalink
Merge pull request #67 from Gottox/fix/map-iter-unused-initialisation
Browse files Browse the repository at this point in the history
map_iterator: fix unused initialisation
  • Loading branch information
Gottox committed Aug 23, 2023
2 parents cf9966e + fd38002 commit 66421c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mapper/map_iterator.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ int
sqsh__map_iterator_skip(
struct SqshMapIterator *iterator, sqsh_index_t *offset) {
int rv = 0;
sqsh_index_t index = iterator->next_index;
sqsh_index_t index;
size_t block_size = sqsh__map_manager_block_size(iterator->map_manager);

size_t current_size = sqsh__map_iterator_size(iterator);
Expand Down

0 comments on commit 66421c6

Please sign in to comment.