zlib: Annotate fallthrough case

This commit is contained in:
Orgad Shaneh
2024-05-19 15:10:10 +03:00
committed by Mohammad Nejati
parent 2dcdef3890
commit 55035d17c5
2 changed files with 1 additions and 2 deletions

View File

@ -113,7 +113,6 @@ selector::operator()(suite_info const& s)
case all:
default:
// fall through
break;
};

View File

@ -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:
{