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

Commit 44661705 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Gerrit Code Review
Browse files

Merge "Fix clang-analyzer-core.uninitialized.Branch warnings"

parents 29a1d000 5fce3a1c
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line 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;
    return kUncryptRealpathFindError;
  }
  }


  bool encryptable;
  bool encryptable = false;
  bool encrypted;
  bool encrypted = false;
  bool f2fs_fs;
  bool f2fs_fs = false;
  const std::string blk_dev = FindBlockDevice(path, &encryptable, &encrypted, &f2fs_fs);
  const std::string blk_dev = FindBlockDevice(path, &encryptable, &encrypted, &f2fs_fs);
  if (blk_dev.empty()) {
  if (blk_dev.empty()) {
    LOG(ERROR) << "Failed to find block device for " << path;
    LOG(ERROR) << "Failed to find block device for " << path;