diff options
author | Chih-Hung Hsieh <chh@google.com> | 2020-04-23 23:26:21 +0200 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2020-04-23 23:36:59 +0200 |
commit | 5fce3a1cbe0dcebca96b640a64fcdf299fc9f3b2 (patch) | |
tree | 2854f15150970bb49dc71da072fa921437703a8a /uncrypt | |
parent | Merge "Add missing dep." (diff) | |
download | android_bootable_recovery-5fce3a1cbe0dcebca96b640a64fcdf299fc9f3b2.tar android_bootable_recovery-5fce3a1cbe0dcebca96b640a64fcdf299fc9f3b2.tar.gz android_bootable_recovery-5fce3a1cbe0dcebca96b640a64fcdf299fc9f3b2.tar.bz2 android_bootable_recovery-5fce3a1cbe0dcebca96b640a64fcdf299fc9f3b2.tar.lz android_bootable_recovery-5fce3a1cbe0dcebca96b640a64fcdf299fc9f3b2.tar.xz android_bootable_recovery-5fce3a1cbe0dcebca96b640a64fcdf299fc9f3b2.tar.zst android_bootable_recovery-5fce3a1cbe0dcebca96b640a64fcdf299fc9f3b2.zip |
Diffstat (limited to 'uncrypt')
-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; |