From 1e142dcda8ef4081c7766e4f1a1127d821bc28cf Mon Sep 17 00:00:00 2001 From: jack Date: Wed, 28 Jan 2026 10:30:38 -1000 Subject: [PATCH] fix: Remove unused variable and bump version to 1.5.1 - Remove unused messageType variable (compiler warning fix) - Bump marketing version to 1.5.1 Co-Authored-By: Claude Opus 4.5 --- Configs/Release.xcconfig | 2 +- bitchat/Services/BLE/BLEService.swift | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Configs/Release.xcconfig b/Configs/Release.xcconfig index c967132a..e6ee5009 100644 --- a/Configs/Release.xcconfig +++ b/Configs/Release.xcconfig @@ -1,4 +1,4 @@ -MARKETING_VERSION = 1.5.0 +MARKETING_VERSION = 1.5.1 CURRENT_PROJECT_VERSION = 1 IPHONEOS_DEPLOYMENT_TARGET = 16.0 diff --git a/bitchat/Services/BLE/BLEService.swift b/bitchat/Services/BLE/BLEService.swift index bd2fbdaa..39020657 100644 --- a/bitchat/Services/BLE/BLEService.swift +++ b/bitchat/Services/BLE/BLEService.swift @@ -827,7 +827,6 @@ final class BLEService: NSObject { private func validatePacket(_ packet: BitchatPacket, from peerID: PeerID, connectionSource: ConnectionSource = .unknown) -> Bool { let currentTime = UInt64(Date().timeIntervalSince1970 * 1000) - let messageType = MessageType(rawValue: packet.type) let isRSR = packet.isRSR var skipTimestampCheck = false