Core&Tools: Fix multiple issues found by a static code coverage tool