Skip to content

Commit

Permalink
Fix compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkolb committed Sep 16, 2017
1 parent ea39bb5 commit 9a0e7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Tools/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extension OutputStream
func write(_ string:String) {
if string.isEmpty {return}
let encodedDataArray = [UInt8](string.utf8)
write(encodedDataArray, maxLength: encodedDataArray.count)
let _ = write(encodedDataArray, maxLength: encodedDataArray.count)
}
}

Expand Down

0 comments on commit 9a0e7fb

Please sign in to comment.