Skip to content

Commit 21acb66

Browse files
author
Seppo Takalo
committed
TDBStore: remove unused variables
1 parent 7902100 commit 21acb66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

features/storage/kvstore/tdbstore/TDBStore.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,6 @@ int TDBStore::garbage_collection()
860860
{
861861
ram_table_entry_t *ram_table = (ram_table_entry_t *) _ram_table;
862862
uint32_t to_offset, to_next_offset;
863-
uint32_t chunk_size, reserved_size;
864863
int ret;
865864
size_t ind;
866865

@@ -996,7 +995,7 @@ int TDBStore::init()
996995
uint32_t next_offset;
997996
uint32_t flags, hash;
998997
uint32_t actual_data_size;
999-
int os_ret, ret = MBED_SUCCESS;
998+
int ret = MBED_SUCCESS;
1000999
uint16_t versions[_num_areas];
10011000

10021001
_mutex.lock();

0 commit comments

Comments
 (0)