Merge pull request #13978 from xokdvium/fix-warn
libutil: Fix missing return warning
This commit is contained in:
@@ -109,8 +109,9 @@ static DecodeNamePair baseExplicit(HashFormat format)
|
||||
case HashFormat::Base64:
|
||||
return {base64::decode, "Base64"};
|
||||
case HashFormat::SRI:
|
||||
assert(false);
|
||||
break;
|
||||
}
|
||||
unreachable();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user