Fix unused variable warning in integration tests

Replace unused 'decrypted' binding with underscore to suppress warning
This commit is contained in:
jack
2025-07-23 15:10:29 +02:00
parent 558bc52881
commit 557d5b915e
@@ -208,7 +208,7 @@ final class IntegrationTests: XCTestCase {
if packet.type == 0x01 { if packet.type == 0x01 {
plainCount += 1 plainCount += 1
} else if packet.type == 0x02 { } 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 encryptedCount += 1
} }
} }