Fix build warning on macOS.
authorCarl Hetherington <cth@carlh.net>
Sun, 28 Jul 2024 20:08:01 +0000 (22:08 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 28 Jul 2024 20:08:01 +0000 (22:08 +0200)
src/wx/verify_dcp_dialog.cc

index a1b44f45f2ff414bada2717aaacb4e86be45e2de..9417d7934b0abbb0eeb3ac17cfcc9370ef5e5736 100644 (file)
@@ -129,7 +129,7 @@ VerifyDCPDialog::VerifyDCPDialog (wxWindow* parent, shared_ptr<VerifyDCPJob> job
                return message;
        };
 
-       auto add = [&counts, &add_bullet, &substitute, limit_per_type](vector<dcp::VerificationNote> const& notes, wxString message, wxString more_message = {}) {
+       auto add = [&counts, &add_bullet, &substitute](vector<dcp::VerificationNote> const& notes, wxString message, wxString more_message = {}) {
                int N = 0;
                for (auto const& note: notes) {
                        add_bullet(note.type(), substitute(message, note));