cppcheck and clang --analyze fixes
Several small changes to reduce the cppcheck and clang --analyze warnings. Used cppcheck 2.8 and 2.3, and clang 11 and 14. Most of the remaining cppcheck warnings are false positives.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Several small changes to reduce the cppcheck and clang --analyze warnings. Used cppcheck 2.8 and 2.3, and clang 11 and 14. Most of the remaining cppcheck warnings are false positives.