From 9158a8099f0f3c71ed124a2e0a9f2fee9e88a22c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 28 Jul 2024 22:08:01 +0200 Subject: Fix build warning on macOS. --- src/wx/verify_dcp_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/wx/verify_dcp_dialog.cc b/src/wx/verify_dcp_dialog.cc index a1b44f45f..9417d7934 100644 --- a/src/wx/verify_dcp_dialog.cc +++ b/src/wx/verify_dcp_dialog.cc @@ -129,7 +129,7 @@ VerifyDCPDialog::VerifyDCPDialog (wxWindow* parent, shared_ptr job return message; }; - auto add = [&counts, &add_bullet, &substitute, limit_per_type](vector const& notes, wxString message, wxString more_message = {}) { + auto add = [&counts, &add_bullet, &substitute](vector const& notes, wxString message, wxString more_message = {}) { int N = 0; for (auto const& note: notes) { add_bullet(note.type(), substitute(message, note)); -- cgit v1.2.3