1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-28 13:11:00 +01:00

Merge pull request #13978 from xokdvium/fix-warn

libutil: Fix missing return warning
This commit is contained in:
Jörg Thalheim 2025-09-13 10:30:32 +02:00 committed by GitHub
commit 465d627f7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -109,8 +109,9 @@ static DecodeNamePair baseExplicit(HashFormat format)
case HashFormat::Base64: case HashFormat::Base64:
return {base64::decode, "Base64"}; return {base64::decode, "Base64"};
case HashFormat::SRI: case HashFormat::SRI:
assert(false); break;
} }
unreachable();
} }
/** /**