Skip to content

Commit

Permalink
Merge pull request #48 from 3sidedcube/feature/Xcode_12_support
Browse files Browse the repository at this point in the history
Removes unecessary `_` assignment which stops Xcode 12 from compiling
  • Loading branch information
simonmitchell authored Sep 17, 2020
2 parents 8ae05e3 + 3aa350a commit f20b2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ThunderRequest/String+MD5.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public extension String {
}
var digestData = Data(count: Int(CC_MD5_DIGEST_LENGTH))

_ = digestData.withUnsafeMutableBytes { (digestBody: UnsafeMutableRawBufferPointer) in
digestData.withUnsafeMutableBytes { (digestBody: UnsafeMutableRawBufferPointer) in

guard let baseAddress = digestBody.baseAddress, digestBody.count > 0 else {
return
Expand Down

0 comments on commit f20b2c2

Please sign in to comment.