Merge "Fix clang-analyzer-core.uninitialized.Branch warnings" am: 4466170559
Change-Id: Ie7d2544d835e8b6a8759636a9457ff4d34f7b80d
This commit is contained in:
commit
21ff0aa9a8
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue