diff --git a/src/libutil/hash.cc b/src/libutil/hash.cc index 6715b8112..b67dc7807 100644 --- a/src/libutil/hash.cc +++ b/src/libutil/hash.cc @@ -109,8 +109,9 @@ static DecodeNamePair baseExplicit(HashFormat format) case HashFormat::Base64: return {base64::decode, "Base64"}; case HashFormat::SRI: - assert(false); + break; } + unreachable(); } /**