Skip to content

Fixes to silence some clang warnings.#2127

Merged
clalancette merged 1 commit intorollingfrom
clalancette/fix-clang-warnings
Mar 14, 2023
Merged

Fixes to silence some clang warnings.#2127
clalancette merged 1 commit intorollingfrom
clalancette/fix-clang-warnings

Conversation

@clalancette
Copy link
Copy Markdown
Contributor

This does 2 separate things:

  • Adds (void)unused_variable things where needed.
  • Stops doing some checks on moved-from items in tests.

With this in place, most of the remaining clang static analysis warnings are gone.

This does 2 separate things:

* Adds (void)unused_variable things where needed.
* Stops doing some checks on moved-from items in tests.

With this in place, most of the remaining clang static analysis
warnings are gone.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@clalancette
Copy link
Copy Markdown
Contributor Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@clalancette clalancette merged commit cbd48c0 into rolling Mar 14, 2023
@delete-merged-branch delete-merged-branch bot deleted the clalancette/fix-clang-warnings branch March 14, 2023 19:38
alsora pushed a commit to irobot-ros/rclcpp that referenced this pull request Apr 28, 2023
This does 2 separate things:

* Adds (void)unused_variable things where needed.
* Stops doing some checks on moved-from items in tests.

With this in place, most of the remaining clang static analysis
warnings are gone.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Barry-Xu-2018 pushed a commit to Barry-Xu-2018/rclcpp that referenced this pull request Jan 12, 2024
This does 2 separate things:

* Adds (void)unused_variable things where needed.
* Stops doing some checks on moved-from items in tests.

With this in place, most of the remaining clang static analysis
warnings are gone.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants