Skip to content

Commit 8e91988

Browse files
authored
Merge pull request #13117 from rajkan01/fix_kvstore_compilation_warning
Fix compliation warnings
2 parents 8b70dfe + face8ec commit 8e91988

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

features/storage/kvstore/conf/kv_config.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,7 @@ int _calculate_blocksize_match_tdbstore(BlockDevice *bd)
186186
{
187187
bd_size_t size = bd->size();
188188
bd_size_t erase_size = bd->get_erase_size();
189-
bd_size_t page_size = bd->get_program_size();
190189
bd_size_t number_of_sector = size / erase_size;
191-
bd_size_t number_of_page = size / page_size;
192190
if (number_of_sector < STORE_SECTORS) {
193191
tr_error("KV Config: There are less than %d sectors - TDBStore will not work.", STORE_SECTORS);
194192
return -1;

0 commit comments

Comments
 (0)