From 557d5b915e440fa61519bfc487eba17cb9de43c5 Mon Sep 17 00:00:00 2001 From: jack Date: Wed, 23 Jul 2025 15:10:29 +0200 Subject: [PATCH] Fix unused variable warning in integration tests Replace unused 'decrypted' binding with underscore to suppress warning --- bitchatTests/Integration/IntegrationTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitchatTests/Integration/IntegrationTests.swift b/bitchatTests/Integration/IntegrationTests.swift index 21c213b6..32a14c9f 100644 --- a/bitchatTests/Integration/IntegrationTests.swift +++ b/bitchatTests/Integration/IntegrationTests.swift @@ -208,7 +208,7 @@ final class IntegrationTests: XCTestCase { if packet.type == 0x01 { plainCount += 1 } else if packet.type == 0x02 { - if let decrypted = try? self.noiseManagers["Bob"]!.decrypt(packet.payload, from: TestConstants.testPeerID1) { + if let _ = try? self.noiseManagers["Bob"]!.decrypt(packet.payload, from: TestConstants.testPeerID1) { encryptedCount += 1 } }