Add double parenthesis to suppress Clang warnings #4

Closed
esummers opened this Issue Dec 27, 2010 · 1 comment

Projects

None yet

2 participants

@esummers

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]) { }

@itod
Owner

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