QmlJS: Initialize error state in PrototypeIterator.
QmlJS: Initialize error state in PrototypeIterator.

Change-Id: I231b847607d0558080d0dc0b6392bae5b833d65a
Reviewed-on: http://codereview.qt.nokia.com/107
Reviewed-by: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com>
Reviewed-by: Leandro T. C. Melo <8f144cd741810d8c7b648cacf5b9b2f4e2ebcc1b@nokia.com>

KDE/android-qt-creator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,colede/qtcreator,renatofilho/QtCreator,dmik/qt-creator-os2,duythanhphan/qt-creator,colede/qtcreator,maui-packages/qt-creator,ostash/qt-creator-i18n-uk,Distrotech/qtcreator,ostash/qt-creator-i18n-uk,xianian/qt-creator,pcacjr/qt-creator,pcacjr/qt-creator,hdweiss/qt-creator-visualizer,KDAB/KDAB-Creator,danimo/qt-creator,omniacreator/qtcreator,hdweiss/qt-creator-visualizer,kuba1/qtcreator,darksylinc/qt-creator,syntheticpp/qt-creator,farseerri/git_code,dmik/qt-creator-os2,KDAB/KDAB-Creator,KDE/android-qt-creator,colede/qtcreator,jonnor/qt-creator,hdweiss/qt-creator-visualizer,Distrotech/qtcreator,jonnor/qt-creator,syntheticpp/qt-creator,martyone/sailfish-qtcreator,omniacreator/qtcreator,KDE/android-qt-creator,duythanhphan/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,danimo/qt-creator,Distrotech/qtcreator,danimo/qt-creator,azat/qtcreator,pcacjr/qt-creator,kuba1/qtcreator,dmik/qt-creator-os2,malikcjm/qtcreator,dmik/qt-creator-os2,farseerri/git_code,azat/qtcreator,maui-packages/qt-creator,syntheticpp/qt-creator,farseerri/git_code,colede/qtcreator,richardmg/qtcreator,renatofilho/QtCreator,darksylinc/qt-creator,malikcjm/qtcreator,syntheticpp/qt-creator,Distrotech/qtcreator,darksylinc/qt-creator,richardmg/qtcreator,duythanhphan/qt-creator,azat/qtcreator,kuba1/qtcreator,omniacreator/qtcreator,malikcjm/qtcreator,KDE/android-qt-creator,martyone/sailfish-qtcreator,renatofilho/QtCreator,maui-packages/qt-creator,maui-packages/qt-creator,KDAB/KDAB-Creator,dmik/qt-creator-os2,azat/qtcreator,omniacreator/qtcreator,malikcjm/qtcreator,bakaiadam/collaborative_qt_creator,bakaiadam/collaborative_qt_creator,bakaiadam/collaborative_qt_creator,colede/qtcreator,colede/qtcreator,ostash/qt-creator-i18n-uk,xianian/qt-creator,renatofilho/QtCreator,renatofilho/QtCreator,xianian/qt-creator,kuba1/qtcreator,duythanhphan/qt-creator,malikcjm/qtcreator,jonnor/qt-creator,syntheticpp/qt-creator,danimo/qt-creator,bakaiadam/collaborative_qt_creator,farseerri/git_code,amyvmiwei/qt-creator,KDAB/KDAB-Creator,ostash/qt-creator-i18n-uk,pcacjr/qt-creator,kuba1/qtcreator,KDE/android-qt-creator,AltarBeastiful/qt-creator,richardmg/qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,richardmg/qtcreator,martyone/sailfish-qtcreator,kuba1/qtcreator,KDE/android-qt-creator,jonnor/qt-creator,omniacreator/qtcreator,pcacjr/qt-creator,martyone/sailfish-qtcreator,azat/qtcreator,darksylinc/qt-creator,richardmg/qtcreator,duythanhphan/qt-creator,renatofilho/QtCreator,KDE/android-qt-creator,amyvmiwei/qt-creator,richardmg/qtcreator,amyvmiwei/qt-creator,Distrotech/qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,omniacreator/qtcreator,AltarBeastiful/qt-creator,colede/qtcreator,martyone/sailfish-qtcreator,darksylinc/qt-creator,farseerri/git_code,xianian/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,maui-packages/qt-creator,kuba1/qtcreator,Distrotech/qtcreator,richardmg/qtcreator,jonnor/qt-creator,maui-packages/qt-creator,duythanhphan/qt-creator,farseerri/git_code,azat/qtcreator,kuba1/qtcreator,darksylinc/qt-creator,danimo/qt-creator,hdweiss/qt-creator-visualizer,omniacreator/qtcreator,dmik/qt-creator-os2,amyvmiwei/qt-creator,xianian/qt-creator,hdweiss/qt-creator-visualizer,jonnor/qt-creator,AltarBeastiful/qt-creator,syntheticpp/qt-creator,duythanhphan/qt-creator,pcacjr/qt-creator,danimo/qt-creator,xianian/qt-creator,darksylinc/qt-creator,dmik/qt-creator-os2,ostash/qt-creator-i18n-uk,ostash/qt-creator-i18n-uk,bakaiadam/collaborative_qt_creator,danimo/qt-creator,malikcjm/qtcreator,farseerri/git_code,KDAB/KDAB-Creator,AltarBeastiful/qt-creator,xianian/qt-creator,bakaiadam/collaborative_qt_creator,KDE/android-qt-creator,Distrotech/qtcreator,syntheticpp/qt-creator,amyvmiwei/qt-creator,malikcjm/qtcreator,farseerri/git_code,KDAB/KDAB-Creator,ostash/qt-creator-i18n-uk,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,danimo/qt-creator,bakaiadam/collaborative_qt_creator,darksylinc/qt-creator,hdweiss/qt-creator-visualizer,pcacjr/qt-creator