Add double parenthesis to suppress Clang warnings #4

esummers opened this Issue Dec 27, 2010 · 1 comment


None yet

2 participants


All assignment inside a statement should be enclosed in a double parenthesis to avoid Clang compiler warnings.

For example, the assignment should look like this:
if ((self = [super init])) { }

Instead of:
if (self = [super init]) { }


I resolved this a while back. thx.

@itod itod closed this Mar 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment