Browse Source

Clean Up Unused Variable Warning in parse_mentions

Closes: #195
post-button-style
Joel Klabo 2 years ago
committed by William Casarin
parent
commit
58b4d57f32
  1. 2
      damus/Models/Mentions.swift

2
damus/Models/Mentions.swift

@ -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)
}

Loading…
Cancel
Save