File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -257,8 +257,7 @@ class ClientRouterImpl final : public ClientRouter
257257 //
258258 return gateway.event (detail::Gateway::Event::Connected{});
259259 });
260- // Best efforts strategy.
261- (void ) err;
260+ (void ) err; // Best efforts strategy.
262261 }
263262 }
264263
@@ -362,8 +361,7 @@ class ClientRouterImpl final : public ClientRouter
362361 if (const auto gateway = ep_to_gw.second .lock ())
363362 {
364363 const int err = gateway->event (detail::Gateway::Event::Completed{ErrorCode::Disconnected});
365- // Best efforts strategy.
366- (void ) err;
364+ (void ) err; // Best efforts strategy.
367365 }
368366 }
369367 }
@@ -386,7 +384,8 @@ class ClientRouterImpl final : public ClientRouter
386384 //
387385 forEachRegisteredGateway ([](auto & gateway) {
388386 //
389- gateway.event (detail::Gateway::Event::Connected{});
387+ const int err = gateway.event (detail::Gateway::Event::Connected{});
388+ (void ) err; // Best efforts strategy.
390389 });
391390 }
392391
Original file line number Diff line number Diff line change @@ -238,8 +238,7 @@ class ServerRouterImpl final : public ServerRouter
238238 //
239239 return gateway.event (detail::Gateway::Event::Connected{});
240240 });
241- // Best efforts strategy.
242- (void ) err;
241+ (void ) err; // Best efforts strategy.
243242 }
244243 }
245244
You can’t perform that action at this time.
0 commit comments