addressing code review comments

Signed-off-by: Yair Gottdenker <yairg@google.com>
This commit is contained in:
Yair Gottdenker 2025-12-16 17:28:55 +00:00
parent b3fe5206d0
commit bbf53bdb02
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ int hashTypeExists(robj *o, sds field) {
}
bool hashTypeHasStringRef(robj *o, sds field) {
if (o->encoding == OBJ_ENCODING_LISTPACK) return 0;
if (o->encoding == OBJ_ENCODING_LISTPACK) return false;
hashtable *ht = o->ptr;
void **entry_ref = hashtableFindRef(ht, field);
return (entryHasStringRef(*entry_ref));