Xcode compiler #2 warning issues resolved