C++: Fix an infinite loop in reportResult.
C++: Fix an infinite loop in reportResult.

Done-with: Roberto Raggi

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