diff options
author | Chih-hung Hsieh <chh@google.com> | 2020-04-25 08:21:26 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-04-25 08:21:26 +0200 |
commit | 44661705597878d765f1cdb7624d8cb338c58d54 (patch) | |
tree | 2854f15150970bb49dc71da072fa921437703a8a | |
parent | Merge "Add missing dep." (diff) | |
parent | Fix clang-analyzer-core.uninitialized.Branch warnings (diff) | |
download | android_bootable_recovery-44661705597878d765f1cdb7624d8cb338c58d54.tar android_bootable_recovery-44661705597878d765f1cdb7624d8cb338c58d54.tar.gz android_bootable_recovery-44661705597878d765f1cdb7624d8cb338c58d54.tar.bz2 android_bootable_recovery-44661705597878d765f1cdb7624d8cb338c58d54.tar.lz android_bootable_recovery-44661705597878d765f1cdb7624d8cb338c58d54.tar.xz android_bootable_recovery-44661705597878d765f1cdb7624d8cb338c58d54.tar.zst android_bootable_recovery-44661705597878d765f1cdb7624d8cb338c58d54.zip |
-rw-r--r-- | uncrypt/uncrypt.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uncrypt/uncrypt.cpp b/uncrypt/uncrypt.cpp index f1f4f69f0..c798e31d6 100644 --- a/uncrypt/uncrypt.cpp +++ b/uncrypt/uncrypt.cpp @@ -477,9 +477,9 @@ static int Uncrypt(const std::string& input_path, const std::string& map_file, i return kUncryptRealpathFindError; } - bool encryptable; - bool encrypted; - bool f2fs_fs; + bool encryptable = false; + bool encrypted = false; + bool f2fs_fs = false; const std::string blk_dev = FindBlockDevice(path, &encryptable, &encrypted, &f2fs_fs); if (blk_dev.empty()) { LOG(ERROR) << "Failed to find block device for " << path; |