Fixed a couple of minor warnings reported by Xcode 5.1