Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fdb_kvdb]: fix shadow warning (#272)
```bash FlashDB/src/fdb_kvdb.c: In function ‘read_sector_info’: FlashDB/src/fdb_kvdb.c:488:23: warning: declaration of ‘sector_cache’ shadows a previous local [-Wshadow] 488 | kv_sec_info_t sector_cache = get_sector_from_cache(db, sector->addr); | ^~~~~~~~~~~~ FlashDB/src/fdb_kvdb.c:421:19: note: shadowed declaration is here 421 | kv_sec_info_t sector_cache = get_sector_from_cache(db, addr); | ^~~~~~~~~~~~ ``` Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
- Loading branch information