Skip to content

Commit

Permalink
zlib: Annotate fallthrough case
Browse files Browse the repository at this point in the history
  • Loading branch information
orgads authored and ashtum committed May 20, 2024
1 parent 2dcdef3 commit 55035d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion include/boost/beast/_experimental/unit_test/match.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ selector::operator()(suite_info const& s)

case all:
default:
// fall through
break;
};

Expand Down
2 changes: 1 addition & 1 deletion include/boost/beast/zlib/detail/inflate_stream.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ doWrite(z_params& zs, Flush flush, error_code& ec)
case TYPE:
if(flush == Flush::block || flush == Flush::trees)
return done();
// fall through
BOOST_FALLTHROUGH;

case TYPEDO:
{
Expand Down

0 comments on commit 55035d1

Please sign in to comment.