forked from qt-creator/qt-creator
qmljs/qmljsdescribevalue: Remove pointless check
Change-Id: I4b932550ccaebd8b02d52da2b00c158011cbc4bf Reviewed-by: Marco Benelli <marco.benelli@qt.io> Reviewed-by: Christian Kamm <mail@ckamm.de>
This commit is contained in:
@@ -325,7 +325,6 @@ void DescribeValueVisitor::visit(const ObjectValue *value)
|
||||
basicDump("ObjectValue", value, printDetail);
|
||||
}
|
||||
if (printDetail) {
|
||||
if (value) {
|
||||
dumpNewline();
|
||||
dump("className:");
|
||||
dump(value->className());
|
||||
@@ -338,7 +337,6 @@ void DescribeValueVisitor::visit(const ObjectValue *value)
|
||||
dumpNewline();
|
||||
dump("prototype:");
|
||||
(*this)(value->prototype());
|
||||
}
|
||||
closeContext();
|
||||
}
|
||||
--m_depth;
|
||||
|
Reference in New Issue
Block a user