Commit 8a8b371e authored by Christian Kamm's avatar Christian Kamm Committed by Leandro T. C. Melo

QmlJS: Initialize error state in PrototypeIterator.

Change-Id: I231b847607d0558080d0dc0b6392bae5b833d65a
Reviewed-on: http://codereview.qt.nokia.com/107Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarLeandro T. C. Melo <leandro.melo@nokia.com>
parent 2aefea55
......@@ -1743,6 +1743,7 @@ PrototypeIterator::PrototypeIterator(const ObjectValue *start, const Context *co
: m_current(0)
, m_next(start)
, m_context(context)
, m_error(NoError)
{
if (start)
m_prototypes.reserve(10);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment