Xcode 5 static analyzer fixes
Merge pull request #1627 from quicksilver/staticAnalyzer

Xcode 5 static analyzer fixes