diff options
-rw-r--r-- | lldb/tools/lldb-server/lldb-platform.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/tools/lldb-server/lldb-platform.cpp b/lldb/tools/lldb-server/lldb-platform.cpp index 54342b56e43..a6fb5639d64 100644 --- a/lldb/tools/lldb-server/lldb-platform.cpp +++ b/lldb/tools/lldb-server/lldb-platform.cpp @@ -109,8 +109,7 @@ static Status save_socket_id_to_file(const std::string &socket_id, if (auto Err = handleErrors(llvm::writeFileAtomically( temp_file_path, temp_file_spec.GetPath(), socket_id), - [&status, &temp_file_path, - &file_spec](const AtomicFileWriteError &E) { + [&status, &file_spec](const AtomicFileWriteError &E) { std::string ErrorMsgBuffer; llvm::raw_string_ostream S(ErrorMsgBuffer); E.log(S); |