Skip to content

Commit e9d7099

Browse files
authored
Merge pull request #480 from jonesmz/patch-1
Suppress unused-variable warning in release builds.
2 parents d2ff2f6 + 9a324c4 commit e9d7099

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/mqtt/endpoint.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -11488,6 +11488,7 @@ class endpoint : public std::enable_shared_from_this<endpoint<Mutex, LockGuard,
1148811488
) {
1148911489
for(auto const& p : params)
1149011490
{
11491+
(void)p;
1149111492
BOOST_ASSERT(
1149211493
std::get<1>(p).get_qos() == qos::at_most_once ||
1149311494
std::get<1>(p).get_qos() == qos::at_least_once ||

0 commit comments

Comments
 (0)