changeset 2935:440de3640522

C++: Fix warnings reported by clang on FreeBSD of unused capture variables.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 31 Dec 2022 00:59:04 +0000
parents 6d3da42f63af
children 75f6e21f5a02
files dwtestoo.cpp
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/dwtestoo.cpp	Sat Dec 31 00:54:00 2022 +0000
+++ b/dwtestoo.cpp	Sat Dec 31 00:59:04 2022 +0000
@@ -1813,19 +1813,19 @@
             finished = FALSE;
             ready = 0;
             UpdateMLE(threadmle, "Starting thread 1\r\n", DW_NULL);
-            new DW::Thread([this, startbutton, mutex, controlevent, workevent, threadmle](DW::Thread *thread) -> void {
+            new DW::Thread([this, mutex, controlevent, workevent, threadmle](DW::Thread *thread) -> void {
                 this->RunThread(1, mutex, controlevent, workevent, threadmle);
             });
             UpdateMLE(threadmle, "Starting thread 2\r\n", DW_NULL);
-            new DW::Thread([this, startbutton, mutex, controlevent, workevent, threadmle](DW::Thread *thread) -> void {
+            new DW::Thread([this, mutex, controlevent, workevent, threadmle](DW::Thread *thread) -> void {
                 this->RunThread(2, mutex, controlevent, workevent, threadmle);
             });
             UpdateMLE(threadmle, "Starting thread 3\r\n", DW_NULL);
-            new DW::Thread([this, startbutton, mutex, controlevent, workevent, threadmle](DW::Thread *thread) -> void {
+            new DW::Thread([this, mutex, controlevent, workevent, threadmle](DW::Thread *thread) -> void {
                 this->RunThread(3, mutex, controlevent, workevent, threadmle);
             });
             UpdateMLE(threadmle, "Starting thread 4\r\n", DW_NULL);
-            new DW::Thread([this, startbutton, mutex, controlevent, workevent, threadmle](DW::Thread *thread) -> void {
+            new DW::Thread([this, mutex, controlevent, workevent, threadmle](DW::Thread *thread) -> void {
                 this->RunThread(4, mutex, controlevent, workevent, threadmle);
             });
             UpdateMLE(threadmle, "Starting control thread\r\n", DW_NULL);