Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21ff0aa9 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Automerger Merge Worker
Browse files

Merge "Fix clang-analyzer-core.uninitialized.Branch warnings" am: 44661705

Change-Id: Ie7d2544d835e8b6a8759636a9457ff4d34f7b80d
parents 58af72a5 44661705
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;