From: Anna Zaks When the analyzer sees that a value stored into a variable is never used, it's going to produce a message similar to this one:
+Q: How do I tell the static analyzer that I don't care about a specific dead store?
+
+Value stored to 'x' is never read
+You can use the (void)x; idiom to acknowledge that there is a dead store in your code but you do not want it to be reported in the future.
When the analyzer sees that a value stored into a variable is never used, it is going to produce a message similar to this one: +
Instance variable 'commonName' in class 'HappyBird' is never used by the methods in its @implementation+You can add __attribute__((unused)) to the instance variable declaration to suppress the warning. +