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:
parent
8b2903d5ce
commit
db7cddf163
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue