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

Commit 9441fe97 authored by luanzhuang's avatar luanzhuang
Browse files

Remove unused local variables -- path



Bug: none

Change-Id: I7d96c83a53a4fd1fc6ba662bebc13f80e82ff234
Signed-off-by: default avatarluanzhuang <luanzhuang@xiaomi.corp-partner.google.com>
parent b5402e7e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -144,7 +144,6 @@ class CrashQueue {
  CrashArtifact create_temporary_file() const {
    CrashArtifact result;

    std::optional<std::string> path;
    result.fd.reset(openat(dir_fd_, ".", O_WRONLY | O_APPEND | O_TMPFILE | O_CLOEXEC, 0660));
    if (result.fd == -1) {
      PLOG(FATAL) << "failed to create temporary tombstone in " << dir_path_;