Skip to content

Commit 097ac33

Browse files
authored
[lldb] Stop emitting pointless newline (NFC) (#171531)
AppendError ends up trimming this "\n" from the end of the string, then putting another on on. So there's no reason to keep appending the newline in CommandObjectMultiword::Execute.
1 parent f5c28bd commit 097ac33

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lldb/source/Commands/CommandObjectMultiword.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ void CommandObjectMultiword::Execute(const char *args_string,
204204
" Use \"help " + GetCommandName() + "\" to find out more.")
205205
.str());
206206
}
207-
error_msg.append("\n");
208207
result.AppendError(error_msg);
209208
}
210209

0 commit comments

Comments
 (0)