diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-07-20 23:10:29 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-07-20 23:11:56 -0700 |
commit | 7926143fb0a56ae17e06e462d19e0fde48801a5c (patch) | |
tree | 3d3df3d834fafad4af4f8af4f46d5bd08ecfbeee /lldb/source/Interpreter/CommandInterpreter.cpp | |
parent | 9946dcd3e9c7e8c7383265b82cc250c72a444f24 (diff) | |
download | llvm-7926143fb0a56ae17e06e462d19e0fde48801a5c.zip llvm-7926143fb0a56ae17e06e462d19e0fde48801a5c.tar.gz llvm-7926143fb0a56ae17e06e462d19e0fde48801a5c.tar.bz2 |
[lldb] Fix redundant newline in AppendError calls.
AppendError always appends a newline to the given argument, while
AppendErrorWithFormat does not. I've updated the calls to remove the
extra newline.
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 963c1ea..baceeac 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -1708,7 +1708,7 @@ bool CommandInterpreter::HandleCommand(const char *command_line, command_string = command_line; original_command_string = command_line; if (m_repeat_command.empty()) { - result.AppendError("No auto repeat.\n"); + result.AppendError("No auto repeat."); result.SetStatus(eReturnStatusFailed); return false; } |