[fdb] fix warning (#258)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
This commit is contained in:
parent
0d1b438947
commit
dc6121b448
|
@ -151,4 +151,4 @@ const char *_fdb_db_path(fdb_db_t db)
|
|||
return NULL;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -914,7 +914,7 @@ static fdb_err_t del_kv(fdb_kvdb_t db, const char *key, fdb_kv_t old_kv, bool co
|
|||
{
|
||||
fdb_err_t result = FDB_NO_ERR;
|
||||
uint32_t dirty_status_addr;
|
||||
struct fdb_kv kv = { 0 };
|
||||
struct fdb_kv kv = { FDB_KV_UNUSED };
|
||||
|
||||
#if (KV_STATUS_TABLE_SIZE >= FDB_DIRTY_STATUS_TABLE_SIZE)
|
||||
uint8_t status_table[KV_STATUS_TABLE_SIZE];
|
||||
|
|
Loading…
Reference in New Issue