diff --git a/correct-results.html b/correct-results.html
index 3c0c0ba..8107923 100644
--- a/correct-results.html
+++ b/correct-results.html
@@ -311,9 +311,9 @@ Lines analyzed = 118
Physical Source Lines of Code (SLOC) = 80
-Hits@level = [0] 0 [1] 9 [2] 7 [3] 3 [4] 10 [5] 7
-Hits@level+ = [0+] 36 [1+] 36 [2+] 27 [3+] 20 [4+] 17 [5+] 7
-Hits/KSLOC@level+ = [0+] 450 [1+] 450 [2+] 337.5 [3+] 250 [4+] 212.5 [5+] 87.5
+Hits@level = [0] 16 [1] 9 [2] 7 [3] 3 [4] 10 [5] 7
+Hits@level+ = [0+] 52 [1+] 36 [2+] 27 [3+] 20 [4+] 17 [5+] 7
+Hits/KSLOC@level+ = [0+] 650 [1+] 450 [2+] 337.5 [3+] 250 [4+] 212.5 [5+] 87.5
Suppressed hits = 2 (use --neverignore to show them)
Minimum risk level = 1
diff --git a/correct-results.txt b/correct-results.txt
index aed12f6..6a6c122 100644
--- a/correct-results.txt
+++ b/correct-results.txt
@@ -143,9 +143,9 @@ ANALYSIS SUMMARY:
Hits = 36
Lines analyzed = 118
Physical Source Lines of Code (SLOC) = 80
-Hits@level = [0] 0 [1] 9 [2] 7 [3] 3 [4] 10 [5] 7
-Hits@level+ = [0+] 36 [1+] 36 [2+] 27 [3+] 20 [4+] 17 [5+] 7
-Hits/KSLOC@level+ = [0+] 450 [1+] 450 [2+] 337.5 [3+] 250 [4+] 212.5 [5+] 87.5
+Hits@level = [0] 16 [1] 9 [2] 7 [3] 3 [4] 10 [5] 7
+Hits@level+ = [0+] 52 [1+] 36 [2+] 27 [3+] 20 [4+] 17 [5+] 7
+Hits/KSLOC@level+ = [0+] 650 [1+] 450 [2+] 337.5 [3+] 250 [4+] 212.5 [5+] 87.5
Suppressed hits = 2 (use --neverignore to show them)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
diff --git a/flawfinder b/flawfinder
index 7394946..58249d4 100755
--- a/flawfinder
+++ b/flawfinder
@@ -476,13 +476,12 @@ def add_warning(hit):
if required_regex and (required_regex_compiled.search(hit.warning) is
None):
return
- if hit.level >= minimum_level:
- if linenumber == ignoreline:
- num_ignored_hits = num_ignored_hits + 1
- else:
- hitlist.append(hit)
- if show_immediately:
- hit.show()
+ if linenumber == ignoreline:
+ num_ignored_hits = num_ignored_hits + 1
+ else:
+ hitlist.append(hit)
+ if show_immediately:
+ hit.show()
def internal_warn(message):
@@ -2039,9 +2038,10 @@ def show_final_results():
print("