diff --git a/Sources/ThresholdKey/RssComm.swift b/Sources/ThresholdKey/RssComm.swift index 6b92d33..52bb2b2 100644 --- a/Sources/ThresholdKey/RssComm.swift +++ b/Sources/ThresholdKey/RssComm.swift @@ -51,7 +51,7 @@ public final class RssComm { error_code?.pointee = code } if let data = data { - var resultString: String = String(decoding: data, as: UTF8.self) + let resultString: String = String(decoding: data, as: UTF8.self) result = NSString(string: resultString) } }.resume()