# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1672448344 0 # Node ID 440de3640522e5c3c50f486829b10c535a7ff30d # Parent 6d3da42f63af5d26514c967a59ffb4f0147ba886 C++: Fix warnings reported by clang on FreeBSD of unused capture variables. diff -r 6d3da42f63af -r 440de3640522 dwtestoo.cpp --- 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);