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:
Robert Loehning
2017-04-04 18:57:45 +02:00
parent e4a6f62001
commit ad92439930

View File

@@ -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;