diff --git a/sources/hash.F90 b/sources/hash.F90 index 7157341..f12988e 100644 --- a/sources/hash.F90 +++ b/sources/hash.F90 @@ -206,6 +206,7 @@ module hash !------------------------------------------------------------------------------- ! + hash = 0 select case(hash_id) case(hash_xxh64) #ifndef XXHASH @@ -215,8 +216,7 @@ module hash case(hash_xxh3) hash = xxh3_lib(buffer, length) #endif /* XXHASH */ - case(hash_none) - hash = 0 + case default end select return