refactor: remove redundant casts

This commit is contained in:
dundargoc
2023-11-11 11:20:08 +01:00
committed by dundargoc
parent c4ad15ae32
commit 8e58d37f2e
45 changed files with 146 additions and 152 deletions

View File

@@ -411,7 +411,7 @@ hash_T hash_hash(const char *key)
hash_T hash = (uint8_t)(*key);
if (hash == 0) {
return (hash_T)0;
return 0;
}
// A simplistic algorithm that appears to do very well.