summaryrefslogtreecommitdiffstats
path: root/lib/flash-db.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/flash-db.c')
-rw-r--r--lib/flash-db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/flash-db.c b/lib/flash-db.c
index bddff06..57f20fe 100644
--- a/lib/flash-db.c
+++ b/lib/flash-db.c
@@ -566,8 +566,8 @@ int os_area_db_get(const struct os_area_db *db,
const struct os_area_db_id *id, uint64_t *value)
{
int result;
- uint32_t tmp_32;
- uint16_t tmp_16;
+ uint32_t tmp_32 = 0;
+ uint16_t tmp_16 = 0;
result = get_64(db, id, value);
if (!result)