diff options
Diffstat (limited to 'src/t_hash.c')
-rw-r--r-- | src/t_hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/t_hash.c b/src/t_hash.c index 700a6233a..be73932c5 100644 --- a/src/t_hash.c +++ b/src/t_hash.c @@ -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; } |