Skip to content

Commit

Permalink
build: fixing a downstream compile error by noting explicit fallthrou…
Browse files Browse the repository at this point in the history
…gh (envoyproxy#4265)

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
  • Loading branch information
alyssawilk authored and ggreenway committed Aug 27, 2018
1 parent 9857cfe commit da1857d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/common/http/header_map_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ void HeaderString::setInteger(uint64_t value) {
case Type::Inline:
// buffer_.dynamic_ should always point at inline_buffer_ for Type::Inline.
ASSERT(buffer_.dynamic_ == inline_buffer_);
FALLTHRU;
case Type::Dynamic: {
// Whether dynamic or inline the buffer is guaranteed to be large enough.
ASSERT(type_ == Type::Inline || dynamic_capacity_ >= MaxIntegerLength);
Expand Down

0 comments on commit da1857d

Please sign in to comment.