Fixing analyzer warnings in Xcode 4.6.1