commit 58b4d57f32c81fc5433de58668246ef6ffcb05d4 parent 6e709058c0a0c2a632c3866905e450b7ac0f6ee4 Author: Joel Klabo <joelklabo@gmail.com> Date: Fri, 30 Dec 2022 21:51:43 -0800 Clean Up Unused Variable Warning in parse_mentions Closes: #195 Diffstat:
M | damus/Models/Mentions.swift | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/Models/Mentions.swift b/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) }