mirror of https://github.com/valkey-io/valkey
addressing code review comments
Signed-off-by: Yair Gottdenker <yairg@google.com>
This commit is contained in:
parent
b3fe5206d0
commit
bbf53bdb02
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in New Issue