Instance variables with underscore in Objective-C 2.0 and renaming with @synthetize leads to optimization warnings by the ‘Analyze’ tool of Xcode 4 [duplicate]

“Is never used” should be taken literally: you only define its value in assignments, never use it.

This is the same kind of warning you get for local variables: if you only define their values and never use it, what are they for?

The static analyzer is thus warning you, because typically variables that are never accessed are just remains of older code that has changed and you can remove them. But in your case it could be perfectly fine.

Leave a Comment