krz/domain-dig

an ios app for DNS & SSL analysis

clone: git clone https://gitbay.org/krz/domain-dig.git

21576b75478e2a1ff7a2b189e83bcca97403cce3

verified · cmc

author: Christian Cleberg <hello@cleberg.net> · 2026-04-04T00:04:08Z

fix(services): rename unused URLSession delegate params to _
 DomainDig.xcodeproj/project.pbxproj  | 8 ++++----
 DomainDig/HTTPHeadersService.swift   | 4 ++--
 DomainDig/RedirectChainService.swift | 8 ++++----
 DomainDig/SSLCheckService.swift      | 6 +++---
 4 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/DomainDig.xcodeproj/project.pbxproj b/DomainDig.xcodeproj/project.pbxproj
index 976c0b2..2b9fcc6 100644
--- a/DomainDig.xcodeproj/project.pbxproj
+++ b/DomainDig.xcodeproj/project.pbxproj
@@ -265,7 +265,7 @@
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 9;
+				CURRENT_PROJECT_VERSION = 10;
 				DEVELOPMENT_TEAM = ZCNAX3VL9D;
 				ENABLE_PREVIEWS = YES;
 				GENERATE_INFOPLIST_FILE = YES;
@@ -282,7 +282,7 @@
 					"$(inherited)",
 					"@executable_path/Frameworks",
 				);
-				MARKETING_VERSION = 1.7.0;
+				MARKETING_VERSION = 1.7.1;
 				PRODUCT_BUNDLE_IDENTIFIER = net.cleberg.DomainDig;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				STRING_CATALOG_GENERATE_SYMBOLS = YES;
@@ -301,7 +301,7 @@
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 9;
+				CURRENT_PROJECT_VERSION = 10;
 				DEVELOPMENT_TEAM = ZCNAX3VL9D;
 				ENABLE_PREVIEWS = YES;
 				GENERATE_INFOPLIST_FILE = YES;
@@ -318,7 +318,7 @@
 					"$(inherited)",
 					"@executable_path/Frameworks",
 				);
-				MARKETING_VERSION = 1.7.0;
+				MARKETING_VERSION = 1.7.1;
 				PRODUCT_BUNDLE_IDENTIFIER = net.cleberg.DomainDig;
 				PRODUCT_NAME = "$(TARGET_NAME)";
 				STRING_CATALOG_GENERATE_SYMBOLS = YES;
diff --git a/DomainDig/HTTPHeadersService.swift b/DomainDig/HTTPHeadersService.swift
index 04efce6..51e7b5b 100644
--- a/DomainDig/HTTPHeadersService.swift
+++ b/DomainDig/HTTPHeadersService.swift
@@ -101,8 +101,8 @@ private final class TaskMetricsDelegate: NSObject, URLSessionTaskDelegate {
     private(set) var metrics: URLSessionTaskMetrics?
 
     func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
+        _ _: URLSession,
+        task _: URLSessionTask,
         didFinishCollecting metrics: URLSessionTaskMetrics
     ) {
         self.metrics = metrics
diff --git a/DomainDig/RedirectChainService.swift b/DomainDig/RedirectChainService.swift
index 7a23a5e..541e118 100644
--- a/DomainDig/RedirectChainService.swift
+++ b/DomainDig/RedirectChainService.swift
@@ -70,10 +70,10 @@ struct RedirectChainService {
 
 private final class NoRedirectDelegate: NSObject, URLSessionTaskDelegate, @unchecked Sendable {
     func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        willPerformHTTPRedirection response: HTTPURLResponse,
-        newRequest request: URLRequest,
+        _ _: URLSession,
+        task _: URLSessionTask,
+        willPerformHTTPRedirection _: HTTPURLResponse,
+        newRequest _: URLRequest,
         completionHandler: @escaping (URLRequest?) -> Void
     ) {
         // Don't follow redirects automatically — return nil to stop
diff --git a/DomainDig/SSLCheckService.swift b/DomainDig/SSLCheckService.swift
index f227063..6cf8ec3 100644
--- a/DomainDig/SSLCheckService.swift
+++ b/DomainDig/SSLCheckService.swift
@@ -352,7 +352,7 @@ final class SSLSessionDelegate: NSObject, URLSessionDelegate, @unchecked Sendabl
     }
 
     func urlSession(
-        _ session: URLSession,
+        _ _: URLSession,
         didReceive challenge: URLAuthenticationChallenge,
         completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
     ) {
@@ -373,8 +373,8 @@ final class SSLSessionDelegate: NSObject, URLSessionDelegate, @unchecked Sendabl
 
 extension SSLSessionDelegate: URLSessionTaskDelegate {
     func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
+        _ _: URLSession,
+        task _: URLSessionTask,
         didFinishCollecting metrics: URLSessionTaskMetrics
     ) {
         guard let transaction = metrics.transactionMetrics.last else {