Remove unused field in test class.
Change-Id: Id9bfbd1c84acb59a669908e933ed1f63a4987526 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
This commit is contained in:
parent
a89a652bf5
commit
0f4617f9fb
|
@ -75,15 +75,9 @@ using namespace QQmlJS;
|
||||||
|
|
||||||
class Check: public AST::Visitor
|
class Check: public AST::Visitor
|
||||||
{
|
{
|
||||||
Engine *engine;
|
|
||||||
QList<AST::Node *> nodeStack;
|
QList<AST::Node *> nodeStack;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Check(Engine *engine)
|
|
||||||
: engine(engine)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void operator()(AST::Node *node)
|
void operator()(AST::Node *node)
|
||||||
{
|
{
|
||||||
AST::Node::accept(node, this);
|
AST::Node::accept(node, this);
|
||||||
|
@ -206,7 +200,7 @@ void tst_qqmlparser::qmlParser()
|
||||||
else
|
else
|
||||||
parser.parseProgram();
|
parser.parseProgram();
|
||||||
|
|
||||||
check::Check chk(&engine);
|
check::Check chk;
|
||||||
chk(parser.rootNode());
|
chk(parser.rootNode());
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue