Slide 6
Slide 6 text
Useful Warnings Not Included in
The Common Groups
• -Wshadow — a local variable or type declaration
shadows another variable, parameter, type, or class
member (in C++), or whenever a built-in function is
shadowed
int main(int argc, char *argv[])
{
if (1 == 1)
{
int argc = 9;
NSLog(@"The int is %i.", argc);
}
}