Menu

#53 suppressing Xcode analyzer warnings

RegexKitLite 4.0
open
5
2010-09-04
2010-09-04
No

Hi.

Xcode's Analyzer produces some stupid warnings. You know.

Now I see you commenter that's safe to ignore... It's ok.

But I just wanna tell you about better way:

Just use directive:

#pragma unused(concreteVarName)

for these places.

read more:

http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/XcodeProjectManagement/220-Analyzing_Code/static_analysis.html
&
http://clang-analyzer.llvm.org/annotations

thanks!

Discussion


Log in to post a comment.