Fix warning with -Widiomatic-parentheses enabled
This commit is contained in:
parent
ceae6ae819
commit
b078433f2e
@ -305,7 +305,7 @@
|
|||||||
NSDirectoryEnumerator *dirEnumerator = [fileManager enumeratorAtPath:directoryPath];
|
NSDirectoryEnumerator *dirEnumerator = [fileManager enumeratorAtPath:directoryPath];
|
||||||
|
|
||||||
NSString *fileName;
|
NSString *fileName;
|
||||||
while (fileName = [dirEnumerator nextObject]) {
|
while ((fileName = [dirEnumerator nextObject])) {
|
||||||
BOOL isDir;
|
BOOL isDir;
|
||||||
NSString *fullFilePath = [directoryPath stringByAppendingPathComponent:fileName];
|
NSString *fullFilePath = [directoryPath stringByAppendingPathComponent:fileName];
|
||||||
[fileManager fileExistsAtPath:fullFilePath isDirectory:&isDir];
|
[fileManager fileExistsAtPath:fullFilePath isDirectory:&isDir];
|
||||||
|
Loading…
Reference in New Issue
Block a user