Skip to content

Commit bfa7692

Browse files
committed
Fix build failure
1 parent be6762e commit bfa7692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/FoundationEssentials/Data/Data+Writing.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ private func createTemporaryFile(at destinationPath: String, inPath: PathOrURL,
218218
#if FOUNDATION_FRAMEWORK
219219
let debugDescription = "Creating a temporary file via mktemp failed. Creating the temporary file via _amkrtemp previously also failed with errno \(amkrErrno)"
220220
#else
221-
let debugDescription = nil
221+
let debugDescription: String? = nil
222222
#endif
223223
throw CocoaError.errorWithFilePath(inPath, errno: errno, reading: false, variant: variant, debugDescription: debugDescription)
224224
}

0 commit comments

Comments
 (0)