I am importing ZipArchive to use on an iPhone project.
When I compile it, I have trillions of errors saying “equality comparison with extraneous parenthesis”, pointing to lines like this:
if ((level==1))
Why is the programmer using double parenthesis? The error goes away if I remove the extra pair of parenthesis. Is it OK to do that?
thanks.
It’s probably just their preference of style. You can definitely remove them.