Skip to content

Commit a9339ba

Browse files
committed
Merge pull request #1033 from glessard/patch-1
Outdated comment; already fixed
2 parents eb938d3 + 47a3a71 commit a9339ba

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

stdlib/public/core/CString.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ public func _persistCString(s: UnsafePointer<CChar>) -> [CChar]? {
6161
let length = Int(_swift_stdlib_strlen(s))
6262
var result = [CChar](count: length + 1, repeatedValue: 0)
6363
for i in 0..<length {
64-
// FIXME: this will not compile on platforms where 'CChar' is unsigned.
6564
result[i] = s[i]
6665
}
6766
return result

0 commit comments

Comments
 (0)