Skip to content

Clean up compiler warnings#882

Merged
mjcarroll merged 2 commits intomainfrom
clang12_cleanups
Mar 16, 2022
Merged

Clean up compiler warnings#882
mjcarroll merged 2 commits intomainfrom
clang12_cleanups

Conversation

@mjcarroll
Copy link
Copy Markdown

This cleans up some unnecessary copies and unused variables.

Michael Carroll added 2 commits March 15, 2022 14:30
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
@github-actions github-actions bot added the 🌱 garden Ignition Garden label Mar 15, 2022
@mjcarroll
Copy link
Copy Markdown
Author

Interesting new failure: https://build.osrfoundation.org/job/sdformat-ci-pr_any-homebrew-amd64/3232/testReport/junit/(root)/ElementMemoryLeak/SDFCreateDestroy/

/Users/jenkins/workspace/sdformat-ci-pr_any-homebrew-amd64/sdformat/test/integration/element_memory_leak.cc:96
Expected: (memoryUsage) < (memoryLimit), actual: 22867968 vs 22855680

I don't think I caused this one. It could just be that sdformat uses more memory now than previously (especially with the addition of USD?)

@scpeters
Copy link
Copy Markdown
Member

Interesting new failure: https://build.osrfoundation.org/job/sdformat-ci-pr_any-homebrew-amd64/3232/testReport/junit/(root)/ElementMemoryLeak/SDFCreateDestroy/

/Users/jenkins/workspace/sdformat-ci-pr_any-homebrew-amd64/sdformat/test/integration/element_memory_leak.cc:96
Expected: (memoryUsage) < (memoryLimit), actual: 22867968 vs 22855680

I don't think I caused this one. It could just be that sdformat uses more memory now than previously (especially with the addition of USD?)

I ran it again and it passed, so I guess it's flaky

@mjcarroll mjcarroll merged commit 297aef2 into main Mar 16, 2022
@mjcarroll mjcarroll deleted the clang12_cleanups branch March 16, 2022 15:29
@scpeters
Copy link
Copy Markdown
Member

https://github.com/Mergifyio backport sdf12

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jan 16, 2026

backport sdf12

✅ Backports have been created

Details

mergify bot pushed a commit that referenced this pull request Jan 16, 2026
* Remove unnecessary copies
* Clean up unused variables

Signed-off-by: Michael Carroll <michael@openrobotics.org>
(cherry picked from commit 297aef2)

# Conflicts:
#	src/parser_urdf.cc
#	test/integration/joint_dom.cc
#	usd/src/cmd/sdf2usd.cc
scpeters pushed a commit that referenced this pull request Jan 16, 2026
* Remove unnecessary copies
* Clean up unused variables

Signed-off-by: Michael Carroll <michael@openrobotics.org>
(cherry picked from commit 297aef2)
scpeters pushed a commit that referenced this pull request Jan 16, 2026
* Remove unnecessary copies
* Clean up unused variables

Signed-off-by: Michael Carroll <michael@openrobotics.org>
(cherry picked from commit 297aef2)
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