Skip to content

Commit 70e0b5a

Browse files
committed
remove extra condition
1 parent ed06569 commit 70e0b5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/tools/lldb-dap/Handler/DisassembleRequestHandler.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ static DisassembledInstruction ConvertSBInstructionToDisassembledInstruction(
147147

148148
// If the line number is 0 then the entry represents a compiler generated
149149
// location.
150-
if (!IsAssemblySource(source) && line_entry.IsValid() &&
151-
line_entry.GetStartAddress() == addr && line_entry.IsValid() &&
152-
line_entry.GetFileSpec().IsValid() && line_entry.GetLine() != 0) {
150+
if (!IsAssemblySource(source) && line_entry.GetStartAddress() == addr &&
151+
line_entry.IsValid() && line_entry.GetFileSpec().IsValid() &&
152+
line_entry.GetLine() != 0) {
153153

154154
disassembled_inst.location = std::move(source);
155155
const auto line = line_entry.GetLine();

0 commit comments

Comments
 (0)