1
0
mirror of git://jb55.com/damus synced 2024-09-19 19:46:51 +00:00

Clean Up Unused Variable Warning in parse_mentions

Closes: #195
This commit is contained in:
Joel Klabo 2022-12-30 21:51:43 -08:00 committed by William Casarin
parent 6e709058c0
commit 58b4d57f32

View File

@ -115,7 +115,7 @@ func parse_mentions(content: String, tags: [[String]]) -> [Block] {
blocks_init(&bs)
let bytes = content.utf8CString
bytes.withUnsafeBufferPointer { p in
let _ = bytes.withUnsafeBufferPointer { p in
damus_parse_content(&bs, p.baseAddress)
}