diff options
author | Lars Knoll <lars.knoll@qt.io> | 2017-08-15 15:12:29 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2017-08-23 10:45:08 +0000 |
commit | db138d0e11de2c80e5608ba7430eb7b2fee6e136 (patch) | |
tree | 0e5085ef339c82e453e6092a90735eb0d58a449b /src | |
parent | 8dc3412a299e1adfbfce5c6c778a446501719cd8 (diff) |
Fix valgrind warning about uninitialized variable
Change-Id: I1f39c488f5a7b7f1a10fa94461c308f0cde5fcd5
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/compiler/qv4jsir.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4jsir.cpp b/src/qml/compiler/qv4jsir.cpp index 5a58380005..0b0ed391fb 100644 --- a/src/qml/compiler/qv4jsir.cpp +++ b/src/qml/compiler/qv4jsir.cpp @@ -360,6 +360,7 @@ Function::Function(Module *module, Function *outer, const QString &name) , insideWithOrCatch(0) , hasDirectEval(false) , usesArgumentsObject(false) + , usesThis(false) , isStrict(false) , isNamedExpression(false) , hasTry(false) |