diff options
Diffstat (limited to 'src/qml/jsruntime/qv4scopedvalue_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4scopedvalue_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4scopedvalue_p.h b/src/qml/jsruntime/qv4scopedvalue_p.h index 21f45745cb..2c71a36a3d 100644 --- a/src/qml/jsruntime/qv4scopedvalue_p.h +++ b/src/qml/jsruntime/qv4scopedvalue_p.h @@ -65,6 +65,9 @@ struct Scope { explicit Scope(ExecutionEngine *e) : engine(e) +#ifndef QT_NO_DEBUG + , size(0) +#endif { mark = engine->jsStackTop; } |