Skip to content

Commit

Permalink
[core/MessageStore] : avoid 'variable not used' compiler warning if T…
Browse files Browse the repository at this point in the history
…RACE_L1 is NOP
  • Loading branch information
msieben committed Aug 5, 2024
1 parent 24dbdfc commit 90f3519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/core/MessageStore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ENUM_CONVERSION_END(Core::Messaging::Metadata::type)
{
_adminLock.Lock();

for_each (_controlList.begin(), _controlList.end(), [](Core::Messaging::IControl* const & control) {
for_each (_controlList.begin(), _controlList.end(), [](VARIABLE_IS_NOT_USED Core::Messaging::IControl* const & control) {
TRACE_L1(_T("MessageControl %s, size = %u was not disposed before"), typeid(control).name(), static_cast<uint32_t>(_controlList.size()));
}
);
Expand Down

0 comments on commit 90f3519

Please sign in to comment.