Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings generated by NetworkConfigTest #2469

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

arjo129
Copy link
Contributor

@arjo129 arjo129 commented Jul 9, 2024

🦟 Bug fix

Fixes #

Summary

This test was generating a warning about unused vairables. Unless built in debug mode, asertsare often optimized out we should be using the ASSERT macros from gtest instead.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

This test was generating a warning about unused vairables. Unless built
in debug mode, `aserts`are often optimized out we should be using the
`ASSERT` macros from `gtest` instead.

Signed-off-by: Arjo Chakravarty <[email protected]>
@arjo129 arjo129 requested a review from mjcarroll as a code owner July 9, 2024 03:25
@github-actions github-actions bot added the 🏛️ ionic Gazebo Ionic label Jul 9, 2024
@ahcorde ahcorde merged commit 0d89949 into main Jul 9, 2024
10 checks passed
@ahcorde ahcorde deleted the arjo/refactor/remove_unused_warnings_from_nm_test branch July 9, 2024 09:54
arjo129 added a commit that referenced this pull request Jul 19, 2024
This test was generating a warning about unused vairables. Unless built
in debug mode, `aserts`are often optimized out we should be using the
`ASSERT` macros from `gtest` instead.

Signed-off-by: Arjo Chakravarty <[email protected]>
arjo129 added a commit that referenced this pull request Jul 22, 2024
This test was generating a warning about unused vairables. Unless built
in debug mode, `aserts`are often optimized out we should be using the
`ASSERT` macros from `gtest` instead.

Signed-off-by: Arjo Chakravarty <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏛️ ionic Gazebo Ionic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants