Skip to content

Commit 954f55f

Browse files
committed
Fix IUO issue in NSFileManager.swift for Linux build, part 2.
1 parent 5277c2d commit 954f55f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/NSFileManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ public class NSFileManager : NSObject {
320320
}
321321
}
322322

323-
entry = readdir(dir)
323+
entry = readdir(dir!)
324324
}
325325

326326
return contents

0 commit comments

Comments
 (0)