Updated Branches: refs/heads/master 5deb1b5a9 -> ce85b3660
Squash unused variable warnings in ALPN callback Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/ce85b366 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/ce85b366 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/ce85b366 Branch: refs/heads/master Commit: ce85b3660680d615670139f55781b223c21016b7 Parents: 5deb1b5 Author: James Peach <[email protected]> Authored: Tue Feb 11 17:19:10 2014 -0800 Committer: James Peach <[email protected]> Committed: Tue Feb 11 17:19:10 2014 -0800 ---------------------------------------------------------------------- iocore/net/SSLNetVConnection.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce85b366/iocore/net/SSLNetVConnection.cc ---------------------------------------------------------------------- diff --git a/iocore/net/SSLNetVConnection.cc b/iocore/net/SSLNetVConnection.cc index 00e7fa0..9ddc8e9 100644 --- a/iocore/net/SSLNetVConnection.cc +++ b/iocore/net/SSLNetVConnection.cc @@ -698,7 +698,7 @@ SSLNetVConnection::advertise_next_protocol(SSL *ssl, const unsigned char **out, // ALPN TLS extension callback. Given the client's set of offered // protocols, we have to select a protocol to use for this session. int -SSLNetVConnection::select_next_protocol(SSL * ssl, const unsigned char ** out, unsigned char * outlen, const unsigned char * in, unsigned inlen, void *) +SSLNetVConnection::select_next_protocol(SSL * ssl, const unsigned char ** out, unsigned char * outlen, const unsigned char * in ATS_UNUSED, unsigned inlen ATS_UNUSED, void *) { SSLNetVConnection * netvc = (SSLNetVConnection *)SSL_get_app_data(ssl); const unsigned char * npn = NULL;
