remove warning on xcode6.

remove warning on xcode6.