Skip to content

[math7] Tidy up unused variables#372

Merged
mjcarroll merged 4 commits intomainfrom
mjcarroll/math_cleanups
Feb 2, 2022
Merged

[math7] Tidy up unused variables#372
mjcarroll merged 4 commits intomainfrom
mjcarroll/math_cleanups

Conversation

@mjcarroll
Copy link
Copy Markdown

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.

Michael Carroll added 2 commits January 28, 2022 15:22
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
@mjcarroll mjcarroll requested a review from scpeters as a code owner January 28, 2022 21:24
@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
Copy Markdown

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.

Michael Carroll added 2 commits January 30, 2022 10:13
Signed-off-by: Michael Carroll <michael@openrobotics.org>
ImplPtr makes this test irrelevant

Signed-off-by: Michael Carroll <michael@openrobotics.org>
@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.

5 participants