From 58b4d57f32c81fc5433de58668246ef6ffcb05d4 Mon Sep 17 00:00:00 2001 From: Joel Klabo Date: Fri, 30 Dec 2022 21:51:43 -0800 Subject: [PATCH] Clean Up Unused Variable Warning in parse_mentions Closes: #195 --- damus/Models/Mentions.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Models/Mentions.swift b/damus/Models/Mentions.swift index ecdeb06..21e8f30 100644 --- 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) }