summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2020-04-25 09:43:03 +0200
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-04-25 09:43:03 +0200
commit25280613d622ef7b87c5b4d15a40b87a94a929d0 (patch)
tree0df5cbee79f973e0203f95d6e0d8e8e65bd80f90
parent[automerger skipped] Rename external storage properties. am: 94abf26ba2 am: e326e59dde am: 9f1c606aee am: 3b35589c88 -s ours am: 1ef22bbaa1 -s ours (diff)
parentMerge "Fix clang-analyzer-core.uninitialized.Branch warnings" am: 4466170559 am: 21ff0aa9a8 am: 39004966a3 am: e9c10b5fab (diff)
downloadandroid_bootable_recovery-25280613d622ef7b87c5b4d15a40b87a94a929d0.tar
android_bootable_recovery-25280613d622ef7b87c5b4d15a40b87a94a929d0.tar.gz
android_bootable_recovery-25280613d622ef7b87c5b4d15a40b87a94a929d0.tar.bz2
android_bootable_recovery-25280613d622ef7b87c5b4d15a40b87a94a929d0.tar.lz
android_bootable_recovery-25280613d622ef7b87c5b4d15a40b87a94a929d0.tar.xz
android_bootable_recovery-25280613d622ef7b87c5b4d15a40b87a94a929d0.tar.zst
android_bootable_recovery-25280613d622ef7b87c5b4d15a40b87a94a929d0.zip
Diffstat (limited to '')
-rw-r--r--uncrypt/uncrypt.cpp6
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;