Fix Analyzer warnings