A bunch of fixes pointed out by clang static analysis. I ran the tests after these changes, and they all seem to pass.
It's kind of a mish-mash of different things, which is explained further in the commit message for c968946. Let me know if you want me to split this up into different commits to make it easier to review.
A bunch of fixes pointed out by clang static analysis. I ran the tests after these changes, and they all seem to pass.
It's kind of a mish-mash of different things, which is explained further in the commit message for c968946. Let me know if you want me to split this up into different commits to make it easier to review.