forked from qt-creator/qt-creator
Debugger: Remove useless nullptr check
Change-Id: I4b05573276a1372a1f238fbe1cdd9ee67add7158 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -88,7 +88,7 @@ public:
|
||||
|
||||
} else if (ast->statement->kind == Node::Kind_Block) {
|
||||
Block *block = static_cast<Block *>(ast->statement);
|
||||
if (!block || !block->statements)
|
||||
if (!block->statements)
|
||||
return true;
|
||||
statementStartLine = block->statements->firstSourceLocation().startLine;
|
||||
statementColumn = block->statements->firstSourceLocation().startColumn;
|
||||
|
||||
Reference in New Issue
Block a user