cppcheck-htmlreport: Fix premature end of loop in statistics output (#2313)

This issue and also a fix has been reported by Lionel Gimbert in the forum:
https://sourceforge.net/p/cppcheck/discussion/development/thread/d18fb312ee/
All credit goes to him.
This commit is contained in:
Sebastian 2019-10-31 09:26:43 +01:00 committed by amai2012
parent 8b2903d5ce
commit db7cddf163
1 changed files with 1 additions and 1 deletions

View File

@ -685,7 +685,7 @@ if __name__ == '__main__':
continue
# don't print "0 style" etc, if no style warnings were found
if (_sum == 0):
break
continue
except KeyError:
continue
stats_file.write("<p>Top 10 files for " + sev + " severity, total findings: " + str(_sum) + "</br>\n")