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);
|
basicDump("ObjectValue", value, printDetail);
|
||||||
}
|
}
|
||||||
if (printDetail) {
|
if (printDetail) {
|
||||||
if (value) {
|
|
||||||
dumpNewline();
|
dumpNewline();
|
||||||
dump("className:");
|
dump("className:");
|
||||||
dump(value->className());
|
dump(value->className());
|
||||||
@@ -338,7 +337,6 @@ void DescribeValueVisitor::visit(const ObjectValue *value)
|
|||||||
dumpNewline();
|
dumpNewline();
|
||||||
dump("prototype:");
|
dump("prototype:");
|
||||||
(*this)(value->prototype());
|
(*this)(value->prototype());
|
||||||
}
|
|
||||||
closeContext();
|
closeContext();
|
||||||
}
|
}
|
||||||
--m_depth;
|
--m_depth;
|
||||||
|
Reference in New Issue
Block a user