Compiler Warnings: Explicit moves to self #3341
Labels
good first issue
Indicates a good issue for first-time contributors
help wanted
Indicates an issue where help and/or a pull request from the community would be very welcome
Description of Issue
Clang raises a few areas where we are moving the same variable into itself. It would be a good first task for someone new to the project to see if these can be cleaned up or annotated
According to the Clang doc changes, they suggest
Firefox have a similar discussion here https://bugzilla.mozilla.org/show_bug.cgi?id=1453610
I am building with Clang 16 from Xcode 16 with
python3 ./build_scripts/build_usd.py ~/Downloads/usd --build-variant debug --no-imaging -vvv
but this should reproduce with other compilers. The warnings are reproduced below:The text was updated successfully, but these errors were encountered: