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

[math7] Tidy up unused variables #372

Merged
merged 4 commits into from
Feb 2, 2022
Merged

[math7] Tidy up unused variables #372

merged 4 commits into from
Feb 2, 2022

Conversation

mjcarroll
Copy link
Contributor

Uncovered a few things during a clang-12 build.

The big one is that we weren't correctly forwarding arguments in Quaternion::Axis, so I fixed it and added a test to prevent further regressions.

Everything else was unused variables.

@mjcarroll mjcarroll changed the title [main] Tidy up unused variables [math7] Tidy up unused variables Jan 28, 2022
@github-actions github-actions bot added the 🌱 garden Ignition Garden label Jan 28, 2022
@codecov
Copy link

codecov bot commented Jan 28, 2022

Codecov Report

Merging #372 (db3c177) into main (6794eb9) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #372   +/-   ##
=======================================
  Coverage   99.63%   99.63%           
=======================================
  Files          65       65           
  Lines        6101     6103    +2     
=======================================
+ Hits         6079     6081    +2     
  Misses         22       22           
Impacted Files Coverage Δ
include/ignition/math/Quaternion.hh 99.75% <100.00%> (+<0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6794eb9...db3c177. Read the comment docs.

src/Quaternion_TEST.cc Outdated Show resolved Hide resolved
src/PID_TEST.cc Outdated Show resolved Hide resolved
include/ignition/math/Quaternion.hh Show resolved Hide resolved
Signed-off-by: Michael Carroll <[email protected]>
ImplPtr makes this test irrelevant

Signed-off-by: Michael Carroll <[email protected]>
@mjcarroll mjcarroll self-assigned this Feb 1, 2022
@mjcarroll mjcarroll requested a review from azeey February 1, 2022 19:32
@mjcarroll mjcarroll merged commit 6761d32 into main Feb 2, 2022
@mjcarroll mjcarroll deleted the mjcarroll/math_cleanups branch February 2, 2022 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱 garden Ignition Garden
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants