Skip to content

Commit

Permalink
Avoid unused identifier variable warnings. (#422)
Browse files Browse the repository at this point in the history
Fixes regression introduced by 94b379e.

Signed-off-by: Michel Hidalgo <[email protected]>
  • Loading branch information
hidmic authored and jacobperron committed Dec 11, 2020
1 parent 73c8411 commit f782a1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rmw_fastrtps_shared_cpp/src/subscription.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ destroy_subscription(
rmw_subscription_t * subscription)
{
assert(subscription->implementation_identifier == identifier);
static_cast<void>(identifier);

rmw_ret_t ret = RMW_RET_OK;
auto info = static_cast<CustomSubscriberInfo *>(subscription->data);
Expand Down

0 comments on commit f782a1f

Please sign in to comment.