diff options
author | Geoff Levand <geoff@infradead.org> | 2016-11-10 16:59:54 -0800 |
---|---|---|
committer | Geoff Levand <geoff@infradead.org> | 2016-11-10 16:59:54 -0800 |
commit | c9d3b1279857e546f34233520d679c979b4af8ac (patch) | |
tree | 1e6a6f993ce43451fa538734ab8e0ddfd9728482 | |
parent | 3343a3172e1ae6161a64837866447e06cabf6aca (diff) | |
download | ps3-utils-c9d3b1279857e546f34233520d679c979b4af8ac.tar.gz |
flash-db: Fix build warning
warning: ‘tmp_16’ may be used uninitialized in this function
Signed-off-by: Geoff Levand <geoff@infradead.org>
-rw-r--r-- | lib/flash-db.c | 4 |
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) |