groue / GRMustache

Flexible and production-ready Mustache templates for MacOS Cocoa and iOS
http://mustache.github.com/
MIT License
1.44k stars 190 forks source link

Removed warnings compiling with Xcode 5.1 #74

Closed marcopifferi closed 10 years ago

marcopifferi commented 10 years ago

Hi,

I removed 3 warning while compiling with Xcode 5.1.

Best Marco

groue commented 10 years ago

Hi Marco, thank you for your contribution.

I suggest you insert attribute((unused)) after the names of the unused variables instead of suppressing warnings (and rename the item variable _, for consistency).

I'll happily merge your pull request after that :-)

marcopifferi commented 10 years ago

Agree. That is a much better fix!

It is done now.

Marco

groue commented 10 years ago

Gorgeous, thank you Marco. These changes will be merged in the next release.

groue commented 10 years ago

GRMustache v7.0 fixes all warnings. Thanks Marco!

marcopifferi commented 10 years ago

Thank you!