aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4codegen.cpp
diff options
context:
space:
mode:
authorBogDan Vatra <bogdan@kde.org>2013-11-01 08:46:32 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-01 08:05:38 +0100
commit6ecf0f00ddb68daf55c7a75f88b9807d613a6b85 (patch)
treeec6d6abf9d1d7d6838192f4770be194506996751 /src/qml/compiler/qv4codegen.cpp
parentbbc36ebbc38de276b85947b65d89897bf430add5 (diff)
Fix compile.
Change-Id: Iee1280462bec296de1ff2f7572cfc98035195235 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4codegen.cpp')
-rw-r--r--src/qml/compiler/qv4codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4codegen.cpp b/src/qml/compiler/qv4codegen.cpp
index 0be8791d73..19ac678d8c 100644
--- a/src/qml/compiler/qv4codegen.cpp
+++ b/src/qml/compiler/qv4codegen.cpp
@@ -1418,7 +1418,7 @@ bool Codegen::visit(FunctionExpression *ast)
V4IR::Expr *Codegen::identifier(const QString &name, int line, int col)
{
if (hasError)
- return false;
+ return 0;
uint scope = 0;
Environment *e = _env;