Skip to content

Commit 163847c

Browse files
committed
Remove the empty check on formatters, since that is a valid formatter from the CLI.
1 parent dfcdb0d commit 163847c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lldb/tools/lldb-dap/DAP.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,8 +1222,6 @@ void DAP::SetConfiguration(const protocol::Configuration &config,
12221222
}
12231223

12241224
void DAP::SetFrameFormat(llvm::StringRef format) {
1225-
if (format.empty())
1226-
return;
12271225
lldb::SBError error;
12281226
frame_format = lldb::SBFormat(format.str().c_str(), error);
12291227
if (error.Fail()) {
@@ -1236,8 +1234,6 @@ void DAP::SetFrameFormat(llvm::StringRef format) {
12361234
}
12371235

12381236
void DAP::SetThreadFormat(llvm::StringRef format) {
1239-
if (format.empty())
1240-
return;
12411237
lldb::SBError error;
12421238
thread_format = lldb::SBFormat(format.str().c_str(), error);
12431239
if (error.Fail()) {

0 commit comments

Comments
 (0)