summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-01-20 01:17:58 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-20 20:37:15 +0100
commit373279b978afd39f0d028debfe4aa116bbb68517 (patch)
tree5903f79524499207a5080289154c2bba5bb1c456
parent00faf989857d5622124b99d3c468888060bada48 (diff)
Fix spurious "there were no errors" reports in the verifier.
-rw-r--r--src/wx/verify_dcp_result_panel.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/verify_dcp_result_panel.cc b/src/wx/verify_dcp_result_panel.cc
index 59e10793a..4cf44431c 100644
--- a/src/wx/verify_dcp_result_panel.cc
+++ b/src/wx/verify_dcp_result_panel.cc
@@ -173,6 +173,7 @@ VerifyDCPResultPanel::fill(shared_ptr<VerifyDCPJob> job)
std::map<dcp::VerificationNote::Code, std::vector<dcp::VerificationNote>> notes_by_code;
for (auto const& note: job->result().notes) {
+ counts[note.type()]++;
auto type_iter = notes_by_code.find(note.code());
if (type_iter != notes_by_code.end()) {
if (type_iter->second.size() < limit_per_type) {