aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4jsir_p.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2014-03-04 12:29:03 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-05 13:14:10 +0100
commit7e87bf0bb7dd5b64fca0fedce046d7ab0475a4c6 (patch)
tree5124f2f9f28663403c81779cda612c1f939dc725 /src/qml/compiler/qv4jsir_p.h
parent6269e4fafc882b9727fe06b405b876af99060d8c (diff)
Fix MSVC2012 compiler warnings.
Tested on both win32 and win64. Change-Id: I47755e2da51829e61e1452eaaf84a057224b478b Reviewed-by: Simon Hausmann <simon.hausmann@digia.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/qml/compiler/qv4jsir_p.h')
-rw-r--r--src/qml/compiler/qv4jsir_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4jsir_p.h b/src/qml/compiler/qv4jsir_p.h
index 58a569b862..9b720ba6a2 100644
--- a/src/qml/compiler/qv4jsir_p.h
+++ b/src/qml/compiler/qv4jsir_p.h
@@ -275,6 +275,8 @@ struct ExprList {
Expr *expr;
ExprList *next;
+ ExprList(): expr(0), next(0) {}
+
void init(Expr *expr, ExprList *next = 0)
{
this->expr = expr;