Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

Static-cast unused parameters in TransportTCP.#1195

Merged
dirk-thomas merged 2 commits intolunar-develfrom
unused-params
Oct 20, 2017
Merged

Static-cast unused parameters in TransportTCP.#1195
dirk-thomas merged 2 commits intolunar-develfrom
unused-params

Conversation

@mikepurvis
Copy link
Copy Markdown
Member

Silences some warnings under macOS.

ROS_DEBUG("setsockopt failed to set TCP_KEEPIDLE on socket [%d] [%s]", sock_, cached_remote_host_.c_str());
}
#else
static_cast<void>(idle);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use (void)idle; instead.

Similar below.

@dirk-thomas
Copy link
Copy Markdown
Member

Thanks.

@dirk-thomas dirk-thomas merged commit 6bb5446 into lunar-devel Oct 20, 2017
@dirk-thomas dirk-thomas deleted the unused-params branch October 20, 2017 22:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants