mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
Merge pull request #13978 from xokdvium/fix-warn
libutil: Fix missing return warning
This commit is contained in:
commit
465d627f7f
1 changed files with 2 additions and 1 deletions
|
|
@ -109,8 +109,9 @@ static DecodeNamePair baseExplicit(HashFormat format)
|
|||
case HashFormat::Base64:
|
||||
return {base64::decode, "Base64"};
|
||||
case HashFormat::SRI:
|
||||
assert(false);
|
||||
break;
|
||||
}
|
||||
unreachable();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue