Fix some warnings found by FlexeLint.
13 files changed