xcode - Why am I getting this incorrect "unused variable" message? -


my code looks this:

-(void)setguidisplaymode:(id)mode  { // constrain inputs if ( [mode intvalue] < 3 && [mode intvalue] > -1 ) {     guidisplaymode=[mode intvalue]; } else {     guidisplaymode=0; } nsstring *titles[3]={     @"narg",     @"fubar",     @"eep"}; [mview[0] setvalue:titles[guidisplaymode] forkey:@"inputtitle"]; 

}

when build in xcode 4.6.3 using apple llvm compiler 4.2, "unused entity issue" "unused variable 'titles'" warning incorrect. when @ compiler output, there no warning there, apparently warning coming post-compilation "indexing" xcode does.

since warning isn't coming compiler, there can it? known xcode bug?

thanks, chris


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -