Attempting to resolve analyser warnings from Xcode 5