summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-01-14 11:26:31 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2025-01-14 11:26:31 +0100
commitcb2c0dbc70b1432173d8a02d8c46a4b9f107fe52 (patch)
treec062d606e0d7951a4e391d3f3a19e785ca6d6c96
parente8a6e863ed77975975d6240eaadfef32eb869299 (diff)
methods/connect: Avoid unused argument warning
-rw-r--r--methods/connect.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/connect.cc b/methods/connect.cc
index ec0a5c1f9..484b574d8 100644
--- a/methods/connect.cc
+++ b/methods/connect.cc
@@ -995,7 +995,7 @@ static SSL_CTX *GetContextForHost(std::string const &host, aptConfigWrapperForMe
}
ResultState UnwrapTLS(std::string const &Host, std::unique_ptr<MethodFd> &Fd,
- unsigned long const Timeout, aptMethod *const Owner,
+ unsigned long const Timeout, aptMethod *const /*Owner*/,
aptConfigWrapperForMethods const *const OwnerConf)
{
if (_config->FindB("Acquire::AllowTLS", true) == false)