You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2021/01/05 00:11:53 UTC

[trafficserver] branch master updated: Fix clang compiler complaint about an unused parameter in SNIAction. (#7409)

This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new f10674d  Fix clang compiler complaint about an unused parameter in SNIAction. (#7409)
f10674d is described below

commit f10674d1446daa5539331bb26972ad2ab2b31624
Author: Brian Neradt <br...@gmail.com>
AuthorDate: Mon Jan 4 18:11:38 2021 -0600

    Fix clang compiler complaint about an unused parameter in SNIAction. (#7409)
---
 iocore/net/P_SNIActionPerformer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/net/P_SNIActionPerformer.h b/iocore/net/P_SNIActionPerformer.h
index 89067ae..cd0cd6e 100644
--- a/iocore/net/P_SNIActionPerformer.h
+++ b/iocore/net/P_SNIActionPerformer.h
@@ -261,7 +261,7 @@ public:
   TLSValidProtocols() : protocol_mask(max_mask) {}
   TLSValidProtocols(unsigned long protocols) : unset(false), protocol_mask(protocols) {}
   int
-  SNIAction(Continuation *cont, const Context &ctx) const override
+  SNIAction(Continuation *cont, const Context & /* ctx */) const override
   {
     if (!unset) {
       auto ssl_vc = dynamic_cast<SSLNetVConnection *>(cont);