QmlJS: Fix compilation warning

This commit is contained in:
Kai Koehne
2010-07-22 14:18:40 +02:00
parent 0bec2a438f
commit be777c647e

View File

@@ -2960,7 +2960,7 @@ const Value *ASTVariableReference::value(Context *context) const
}
ASTFunctionValue::ASTFunctionValue(FunctionDeclaration *ast, const QmlJS::Document *doc, Engine *engine)
: FunctionValue(engine), _doc(doc), _ast(ast)
: FunctionValue(engine), _ast(ast), _doc(doc)
{
setPrototype(engine->functionPrototype());