Fixing analyzer warnings.