You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by sc...@apache.org on 2017/11/17 05:17:58 UTC

[trafficserver] branch quic-latest updated: return something to make g++ happy

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

scw00 pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/quic-latest by this push:
     new e5af6be  return something to make g++ happy
e5af6be is described below

commit e5af6be2b46d31768f29f8387febb0c3bd9b8b74
Author: scw00 <sc...@apache.org>
AuthorDate: Fri Nov 17 11:22:40 2017 +0800

    return something to make g++ happy
---
 iocore/net/quic/QUICCrypto.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/iocore/net/quic/QUICCrypto.cc b/iocore/net/quic/QUICCrypto.cc
index ec020a8..d407e03 100644
--- a/iocore/net/quic/QUICCrypto.cc
+++ b/iocore/net/quic/QUICCrypto.cc
@@ -70,6 +70,9 @@ QUICPacketProtection::get_key(QUICKeyPhase phase) const
   case QUICKeyPhase::CLEARTEXT:
     return *this->_cleartext_key;
   }
+
+  ink_release_assert(!"Bad phase");
+  return *this->_cleartext_key;
 }
 
 QUICKeyPhase

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].