-
-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Description
Thank you for this great class.
While using it in my Xcode 10.1 project, it shows the following warning:
Obfuscator.m:173:25: Possible misuse of comma operator here
This is the code:
// If at end of key data, reset count and
// set key pointer back to start of key value
if (++keyIndex == [self.salt length])
keyIndex = 0, keyPtr = keyData;I've solved it by splitting the statements over multiple lines within the IF condition:
// If at end of key data, reset count and
// set key pointer back to start of key value
if (++keyIndex == [self.salt length])
{
keyIndex = 0;
keyPtr = keyData;
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels