mirror of
https://github.com/fluencelabs/redis
synced 2025-04-29 04:22:14 +00:00
t_hash.c: clarify calling two times the same function.
This commit is contained in:
parent
4a60fbd8b5
commit
eda5cb0a04
@ -287,8 +287,8 @@ int hashTypeDelete(robj *o, sds field) {
|
||||
if (fptr != NULL) {
|
||||
fptr = ziplistFind(fptr, (unsigned char*)field, sdslen(field), 1);
|
||||
if (fptr != NULL) {
|
||||
zl = ziplistDelete(zl,&fptr);
|
||||
zl = ziplistDelete(zl,&fptr);
|
||||
zl = ziplistDelete(zl,&fptr); /* Delete the key. */
|
||||
zl = ziplistDelete(zl,&fptr); /* Delete the value. */
|
||||
o->ptr = zl;
|
||||
deleted = 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user