Merge pull request #2850 from RosettaCommons/roccomoretti/clang_SA_fixes
Knock out most of the Clang Static Analysis issues
There's still about 12 files with issues. As I've knocked out all of the "easy" ones, all of these are pointing to potential bugs (perhaps). It will take expert eyes to figure out what should be going on here. See https://github.com/RosettaCommons/main/pull/2850 for a list of remaining issues.