mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01:16 +02:00
Fix assertion failure
This commit is contained in:
parent
e19c90fc6b
commit
d3cd0f5856
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ const string base32Chars = "0123456789abcdfghijklmnpqrsvwxyz";
|
|||
|
||||
string printHash32(const Hash & hash)
|
||||
{
|
||||
assert(hash.type != htUnknown);
|
||||
assert(hash.hashSize);
|
||||
size_t len = hash.base32Len();
|
||||
assert(len);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue