Created attachment 1858 [details] Test case: Dead initialization of a variable with 'unused' attribute Clang static analyzer complains dead initialization of variables even if they're marked as 'unused', for example the following line produces dead initialization report: NSString __attribute__((unused)) *str = [NSString stringWithString:@"some string"]; Test case is attached. Clang rev: 53850
Fixed in checker-69. Nikita: If it is no trouble, can you verify that this works for you?
(In reply to comment #1) > Fixed in checker-69. > > Nikita: If it is no trouble, can you verify that this works for you? > My test is green (well, it's a dot actually :). So yes, it works.